> For the complete documentation index, see [llms.txt](https://docs.engagevr.io/developer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.engagevr.io/developer/afx/node-dictionary/unity/gameobject.md).

# GameObject

## GameObject Destroy

Destroy a GameObject.

**Inputs:**

<table><thead><tr><th width="161">Name</th><th width="174">Type</th><th>Description</th></tr></thead><tbody><tr><td>Enter</td><td>Flow</td><td>Flow to activate the node.</td></tr><tr><td>Input</td><td>Object</td><td>The object to destroy.</td></tr></tbody></table>

**Outputs:**

<table><thead><tr><th width="160">Name</th><th width="178">Type</th><th>Description</th></tr></thead><tbody><tr><td>Exit</td><td>Flow</td><td>Continue the activating flow.</td></tr></tbody></table>

## GameObject Info

Access information about a GameObject.

**Inputs:**

<table><thead><tr><th width="161">Name</th><th width="174">Type</th><th>Description</th></tr></thead><tbody><tr><td>Input</td><td>GameObject</td><td>The GameObject to access information about.</td></tr></tbody></table>

**Outputs:**

<table><thead><tr><th width="160">Name</th><th width="178">Type</th><th>Description</th></tr></thead><tbody><tr><td>Active</td><td>Boolean</td><td>True if the GameObject is active.</td></tr><tr><td>Go Name</td><td>String</td><td>The name of the GameObject.</td></tr><tr><td>Transform</td><td>Transform</td><td>The Transform of the game object.</td></tr><tr><td>Layer</td><td>Integer</td><td>The layer that the game object is in.</td></tr><tr><td>Tag</td><td>String</td><td>The tag applied to the GameObject.</td></tr></tbody></table>

## GameObject Set Active

Sets whether a GameObject is active.

**Inputs:**

<table><thead><tr><th width="163">Name</th><th width="174">Type</th><th>Description</th></tr></thead><tbody><tr><td>Enter</td><td>Flow</td><td>Flow to activate the node.</td></tr><tr><td>Game Object In</td><td>GameObject</td><td>The GameObject to set active or inactive.</td></tr><tr><td>Set Active</td><td>Boolean</td><td>If true, the GameObject will be set as active. If false, the GameObject will be set as inactive.</td></tr></tbody></table>

**Outputs:**

<table><thead><tr><th width="164">Name</th><th width="178">Type</th><th>Description</th></tr></thead><tbody><tr><td>Exit</td><td>Flow</td><td>Continue the activating flow.</td></tr></tbody></table>

## GameObject Set Layer

Change the layer for a GameObject.

**Inputs:**

<table><thead><tr><th width="161">Name</th><th width="174">Type</th><th>Description</th></tr></thead><tbody><tr><td>Enter</td><td>Flow</td><td>Flow to activate the node.</td></tr><tr><td>Input</td><td>GameObject</td><td>The GameObject to modify.</td></tr><tr><td>Layer</td><td>Integer</td><td>The layer to assign the GameObject to.</td></tr></tbody></table>

**Outputs:**

<table><thead><tr><th width="160">Name</th><th width="178">Type</th><th>Description</th></tr></thead><tbody><tr><td>Exit</td><td>Flow</td><td>Continue the activating flow.</td></tr></tbody></table>

## GameObject Set Tag

Change the tag for a GameObject.

**Inputs:**

<table><thead><tr><th width="161">Name</th><th width="174">Type</th><th>Description</th></tr></thead><tbody><tr><td>Enter</td><td>Flow</td><td>Flow to activate the node.</td></tr><tr><td>Input</td><td>GameObject</td><td>The GameObject to modify.</td></tr><tr><td>Tag</td><td>String</td><td>The tag to set.</td></tr></tbody></table>

**Outputs:**

<table><thead><tr><th width="160">Name</th><th width="178">Type</th><th>Description</th></tr></thead><tbody><tr><td>Exit</td><td>Flow</td><td>Continue the activating flow.</td></tr></tbody></table>
