Call JavaScript Function
Last updated
Last updated
The Call JavaScript Function Node executes a JavaScript function that is defined in a Web Sprite Object, which has to be given to the Node as its Object Attribute.
Attribute | Type | Description |
---|---|---|
Attribute | Type | Description |
---|---|---|
Attribute | Type | Description |
---|---|---|
Input | Type | Description |
---|---|---|
Output | Type | Description |
---|---|---|
Object
ObjectID
Web Sprite Object that contains the definition of the function to be executed.
JS Function Name
String
Name of the function to be executed, if none is given in the Function name
Input Socket.
Parameters [n]
Drop-down
Label, Data Type, and default value of the parameters given to the function.
Pulse Input (►)
Pulse
A standard Input Pulse, to trigger the execution of the Node.
Function name
String
Name of the function to be executed.
Parameter [n]
Defined in the Data Type of the Parameters
Attribute
Value of the corresponding parameter.
Pulse Output (►)
Pulse
A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
OnLoaded
Pulse
Flows to additional actions when the Web Sprite Object has finished loading.