On Javascript Callback

Overview

On Javascript Callback is an Event Listener Node used for executing a Logic Branch when a Javascript function is called. This function needs to be defined in the Web Sprite that is given as Object Attribute.

Attributes

Object

AttributeTypeDescription

Object

ObjectID

Web Sprite Object that contains the callback function.

Function

AttributeTypeDescription

JS Function Name

String

The name of the function that will trigger the Logic.

Outputs

Data Types

AttributeTypeDescription

Data Types [n]

Drop-down

Label and Data Type of the corresponding Output Socket.

Outputs

OutputTypeDescription

Pulse Output (►)

Pulse

A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.

Parameter

Defined in the Data Type Attribute

Parameter received by the callback function.

See Also

Last updated