# Get All AI Units

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-13e71b0a2eb529abe3bdfd52ead6cfc9fcff28ef%2Fget-all-ai-units.png?alt=media)

## Description

Returns all currently-spawned AI Units, with options for the AI Unit Count and a Random AI Unit from the list. The order of list entries is random.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node supplies Data for an Execution node.

## Inputs

| Input | Type | Required | Description |
| ----- | ---- | -------- | ----------- |
| None  | N/A  | N/A      | N/A         |

## Outputs

| Output   | Type        | Description                         |
| -------- | ----------- | ----------------------------------- |
| AI Units | Object List | All surviving AI Units in the game. |

\
\
**Contributors**

AddiCt3d 2CHa0s
