# Obj Unit::BestTargetInSquadSight(str)

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

## Exact signature

```text
Obj Unit::BestTargetInSquadSight(str)
```

## Description

Finds the best tactical target within squad sight matching the supplied class filter string.

## Parameters and return type

**Return type:** `Obj`

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

| Position | Type |
| --- | --- |
| 1 | `str` |

## Other overloads

Check the exact signature. A description of one overload does not automatically document the others.

- [`Obj Unit::BestTargetInSquadSight()`](/imperivm/en/CKS/reference/api-0d1a7aa1396696/)

## Read and share

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

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