# bool Unit::IsEnemyInSquadSight()

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

## Exact signature

```text
bool Unit::IsEnemyInSquadSight()
```

## Description

For a valid live unit, returns whether the enemy record associated with its squad contains entries.

## Usage notes

Reads an existing record. Captures verified true results for counts of 1 and 2 and false results for a count of 0. They do not establish when the record is refreshed or justify treating this call as a fresh distance, visibility or diplomacy scan. Subsequent behavior with dead units or invalid references is not fully documented.

## Parameters and return type

**Return type:** `bool`

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

This signature takes no additional arguments.

## Read and share

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

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