> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/units/get-all-units.md).

# Get All Units

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

## Description

Returns a list of all Units. Ai units will be at the end of the list

## 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) |      |          |             |

## Outputs

| Output | Type        | Description                                      |
| ------ | ----------- | ------------------------------------------------ |
| Units  | Object List | Outputs an object list of all units in the game. |

\
\
**Contributors**

AddiCt3d 2CHa0s
