# point Flying::PickFlyingPoint(int)

[Family: Flying](/en/CKS/familias/flying/)

## Exact signature

```text
point Flying::PickFlyingPoint(int)
```

## Description

Picks a flight point at roughly the distance given by the argument. It follows the heading of a nearby moving unit of the same class; otherwise it tries twelve directions and chooses the least crowded one closest to the current heading.

## Usage notes

A small random offset is added to the resulting point. An invalid object returns the point (0, 0). Based on static reading only.

## Parameters and return type

**Return type:** `point`

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

| Position | Type |
| --- | --- |
| 1 | `int` |

## Read and share

- [Markdown](/exports/en/cks/api-6b676a5f9cbc5b.md)
- [JSON](/CKS/api/entries/api-6b676a5f9cbc5b?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
