Home »Action Reference»UnityObject Actions»Get Property
Index

Get Property

Gets the value of any public property or field on the targeted Unity Object and stores it in a variable. E.g., Drag and drop any component attached to a Game Object to access its properties.

Target Object
Any object derived from UnityEngine.Object. For example, you can drag a component on a GameObject into this field. HINT: Use Lock to lock the current FSM selection if you need to drag a component from another GameObject.
Target Property
The property to get.
Every Frame
Repeat every frame. Useful if the property is changing over time.

 

Workflow Hints

  • Drag a component from the Unity Inspector to the State Inspector to quickly access properties.

  • Use Lock in the Selection Toolbar to select components on other GameObjects.
  • Use More... in the property selection menu to drill deeper into properties.

NEW: 

  • Get fields inside properties. E.g., Vector3.x