Get Objects By Tag
Overview
![](https://docs.incari.com/~gitbook/image?url=https%3A%2F%2F2561100106-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ff6JZovzOqBctA4C1o76u%252Fuploads%252Fgit-blob-3dbcffd3390261404457ea5b4f7414d4ddabda25%252Fgetobjectsbytagupdatedimage.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=8e9424b3&sv=1)
The Get Objects By Tag Nodes returns an Array of all Objects, specifically their IDs, which are associated with the given tag and fall under the subtree of a given Object. If no Object is given as input, it defaults to the Root Object, thus performing the search on the whole Scene.
To learn more about the Root Object and Scene structure, click here.
Scope: Scene, Function, Prefab.
Attributes
![](https://docs.incari.com/~gitbook/image?url=https%3A%2F%2F2561100106-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ff6JZovzOqBctA4C1o76u%252Fuploads%252Fgit-blob-cf6942802ad41408ffd8a52fcb43992707375966%252Fget-objects-by-tag-attri2.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=4955bafd&sv=1)
Input
Attribute | Type | Description |
---|---|---|
| String | The tag of interest, if one is not provided in the Input Socket. |
Inputs
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| ObjectID | The root Object of the subtree in which the search will be performed. The default, if nothing is received, is the Root Object. |
| String | The tag of interest. |
Outputs
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| ObjectID | An Array of all the Object IDs with the associated tag. |
See Also
Last updated