# Set AI Unit Magic Sight

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-e2e2bb9d1a43c81cf7d8604750ebb1a46eb9770c%2Fset-ai-unit-magic-sight.png?alt=media)

## Description

Sets the Magic Sight behavior on an AI Unit

## Node Type

Nodes fall into two basic categories: Data and Execution. This node Executes a function directly in the node string.

## Inputs

| Input            | Type    | Required | Description                                               |
| ---------------- | ------- | -------- | --------------------------------------------------------- |
| AI Unit          | Object  | Yes      | The AI Unit to set Magic Sight for.                       |
| Is Sight Magical | Boolean | Yes      | If set to TRUE, AI has Magic Sight, if FALSE AI does not. |

## Outputs

| Output | Type | Description |
| ------ | ---- | ----------- |
| N\A    | N\A  | N\A         |

\
\
**Contributors**

AddiCt3d 2CHa0s
