Custom Script Input

Navigation:  Widget Designer > Nodes > Input Nodes >

Custom Script Input

Previous page Return to chapter overview Next page

The Custom Script Input node allows you to intercept Custom Script Button presses within Widget Designer. Select the CS Button ID to output the current click state. The output value is either 0 or 1.
Please note that the output stays at 1 as long as the button is hold down. If you like to count for example how many times a button was used, you need the information when it was clicked, not how long it was hold down. This can be achieved with the help of other filtering nodes, e.g. Delta and If node.


Node Properties:

Custom Script ID:
Enter here the Custom Script Button ID this node should refer to.
Confirm your settings by pressing OK or Apply.

The Node generates the following output:

- Value (True=1, False=0)