On Javascript Callback
Last updated
Last updated
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.
Scope: Scene, Prefab.
Attribute | Type | Description |
---|---|---|
| ObjectID | Web Sprite Object that contains the callback function, if none is given in the |
Attribute | Type | Description |
---|---|---|
| String | The name of the function that will trigger the Logic, if none is given in the |
Attribute | Type | Description |
---|---|---|
| Drop-down | Label and Data Type of the corresponding Output Socket. |
Input | Type | Description |
---|---|---|
| ObjectID | Web Sprite Object that contains the callback function. |
| String | The name of the function that will trigger the Logic. |
| Pulse | An Input Pulse that needs to be triggered to start listening to the Event. |
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| Defined in the | Parameter received by the callback function. |
| ObjectID | Web Sprite Object received as Input. |