> 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-on-team.md).

# Get All Units On Team

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

## Description

Returns all Units assigned to the Team. 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                   |
| ----- | ---- | -------- | ----------------------------- |
| Team  | Team | Yes      | Which team to get units from. |

## Outputs

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

\
\
**Contributors**

AddiCt3d 2CHa0s
