Referencing Entities

Nodes can contain an entity property. These properties tell the node which entity to affect. By default, many nodes reference Self, the entity to which the Script Canvas component attaches the current script. You can reference a specific entity other than Self.

Referencing entities from a node

  1. From the Node Palette, locate the node that you want to add to your script and drag it to the canvas.

  2. In the node, position your pointer over the entity property and then click the target icon.

    Select and deselect entities for nodes in the Script Canvas Editor.

  3. In the O3DE Editor viewport or the Entity Outliner, select the entity that you want to reference.

  4. To clear the entity, position your pointer over the entity property and then click the x icon.

  5. To reset a property back to self, right-double-click the entity property and choose Set to Self.


Copyright © 2022 Open 3D Engine Contributors

Documentation Distributed under CC BY 4.0.
For our trademark, privacy and antitrust policies, code of conduct, and terms of use, please click the applicable link below or see https://www.lfprojects.org.


The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Policy page.