Actions are
Nodes, that execute a function, when they are called.
Actions can be normal members of Nodes, which can be assigned in the editor or via code.
Typically, a Node would call an Action when an event happened.
For instance a Node could process input and when a special input occurs, it calls the Action. Imagine
a sword attack on button press:
So when the sword button pressed, the ActionList
Actions are useful
Another use case can be
Some other pit fal when using Actions is the possibility to make
Actions are created in the scene hierarchy and than assigned by dragging an Action to a Node.
Adding actions to a node is straight forward by adding an Action member and calling the Trigger method of the Action.
C#:
GDScript:
Actions can be found in the Scene Hierarchy with
The Rokojori documentation has filters to check for
various types, there's also one for all Actions and for special ones.
Here are some examples of the Animation filter:
You can write custom Actions by extending the Action class and implementing
the function
There's also a dedicated page with code examples: How to Write Custom Actions







