# point Unit::GetUnexploredPoint(int)

[Family: Unit](/en/CKS/familias/unit/)

## Exact signature

```text
point Unit::GetUnexploredPoint(int)
```

## Description

Returns a random unexplored point near the unit, or the point (-1, -1) when it finds none.

## Usage notes

With argument -1 the search window is about four times a unit field (probably its sight), between 512 and 3000 map units square. It can return (-1, -1) while much of the map is still unexplored. The game uses it in the Explore order.

## 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-32722707fa3b21.md)
- [JSON](/CKS/api/entries/api-32722707fa3b21?lang=en)

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