> 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-is-detected-by-team.md).

# Get Is Detected By Team

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-0c5578b5daa0340f5389e0353c46b8b1a371ae95%2Fget-is-detected-by-team.png?alt=media)

## Description

Returns true if the Unit is highlighted by a Threat Sensor or Threat Seeker belonging to the Team. AI units have to be on a non-neutral team to be detected.

## Node Type

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

## Inputs

| Input | Type   | Required | Description                                   |
| ----- | ------ | -------- | --------------------------------------------- |
| Unit  | Object | Yes      | Which unit to check status of.                |
| Team  | Team   | Yes      | Which team to check if is detecting the unit. |

## Outputs

| Output      | Type    | Description            |
| ----------- | ------- | ---------------------- |
| Is Detected | Boolean | Outputs true or false. |

\
\
**Contributors**

AddiCt3d 2CHa0s
