Skip to main content

Script

This node allows you to add complex JavaScript to your application. Please refer to the Script Guide to learn more about the API. But remember - with great power comes great responsibility.

In most cases you are better off using the simpler Function node for your custom JavaScript.

Getting Started​

Reading the Javascript guide gives a broader understanding of how it works.

Here is an example of how you create a function that you can call in the node graph:

Node.Signals.MyFunction = function (value) {
// run javascript code
};

Inputs​

The inputs are defined by the content of the script or by explicitly specifying inputs in the properties. See the javascript guide for more details.

Outputs​

The outputs are defined by the content of the script or by explicitly specifying outputs in the properties. See the javascript guide for more details.