Skip to main content
An action performed when an associated State Machine Listener is triggered. For more information, see Listener Action Scripts.

Methods

init

Called once when the listener is created or attached.

perform

Called when the associated State Machine Listener is triggered. This method includes a PointerEvent parameter containing details about the triggering interaction. Deprecated. Prefer performAction with ListenerContext; this overload may be removed.

performAction

Called when the associated State Machine Listener is triggered. This method includes a ListenerContext parameter containing details about the triggering interaction.