Animation Target
This node marks a UI element as a target for animations.
The Animation Target node is a helper for connecting visual elements to logic nodes that require a visual reference.
The Animation Target node is typically used to explicitly expose a visual element (like a Group or Image) as a target for the Animation node or other visual manipulation nodes. While many visual nodes output their own reference object, this node can be used to "catch" that reference and pass it along, or to serve as a placeholder in templates.
Inputs
General
| Data | Description |
|---|---|
| Element | The visual element to target. Connect the Object output of a visual node here. |
Outputs
General
| Data | Description |
|---|---|
| Target | The passed-through element reference. Connect this to the Target Element input of an Animation node. |
Usage
Organizing Animations
- Place an Image node.
- Connect its Object output to an Animation Target.
- Connect the Animation Target output to multiple Animation nodes (e.g., "Fade In", "Slide Out").
- This keeps the graph cleaner than wiring the Image directly to everything.
Detailed Behavior
- Passthrough: It essentially acts as a relay for the visual element reference.
Troubleshooting
- Reference Lost: If the source element is deleted, the target becomes null.