# int NumSquads(int)

[Family: Global](/imperivm/en/CKS/familias/global/)

## Exact signature

```text
int NumSquads(int)
```

## Description

NumSquads returns a per-player squad pointer-span length divided by four for input IDs 1 through 16 and zero otherwise.

## Parameters and return type

**Return type:** `int`

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

## Read and share

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

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