Skip to content

Get Owner

Leopold A-C edited this page Oct 13, 2020 · 6 revisions

Description

Get the owner of the logic tree. Any object with the tree attached is considered an "owner". This node can be used to access instanced objects separately.
This works more universally than the Get Object node, because it does not look for objects by their name, but gets the owner object by accessing it through the attached logic bricks, which are unique for each object.

Note: If you plan on using logic nodes on instanced objects, USE THIS AND THE GET CHILD BY NAME node instead of GET OBJECT.

Example: There's 2 instances of the same object with a logic tree attached in your scene. Each instance is running the logic tree, so for each instance, the result of Get Owner will be a different object.

Category: Objects


Inputs

This node has no inputs.


Outputs

Owner Object

  • The object currently executing the tree.
Clone this wiki locally