Last action's output
This will set a variable with the name to the output of the last ran action. For most "If" actions, the output will be the matching entity itself.
tip
You can view all variables and their values when a script is running by opening the Variable Panel (ALT+V, or press the button on your script's main action).
Parameters
- Variable name (text)