Page cover

Custom events

Custom events are special nodes which can alter the flow, allowing for a cleaner and more readable graph. They are also used to execute actions based on inputs deriving from an user interface.

Using custom events

To create a custom event, add it as an usual node and give it an unique EventName (which will be id the caller will need to use to call it). To call the custom event, add a CallCustomEvent node and use the same EventName as the CustomEvent node.

UI custom events

Custom events are also used to receive inputs from user interface elements and execute an action with them. They can either receive a boolean or single (float) value.

UI nodes passing a boolean argument are:

  • AddCheckbox

checkbox ui node passing a boolean value to a custom event

UI nodes passing a float argument are:

  • AddSlider

slider ui node passing a single (float) value to a custom event

Last updated