A Method node (

) represents a method — a small program that runs when called from other nodes such as
Event nodes,
Item nodes,
Buttons nodes, and other
Method nodes. The name of the
Method node is the name of the method, which you can enter in the
Name field. Right-click and choose
Edit (

) to open an editor window where you can edit the method. See
Creating Methods and
The Method Nodes and Method Editor Windows for information about creating methods.
The Settings window for a
Method node contains the following section:
In the table under Inputs, you can add one or more inputs to the method. Click the
Add button (

) to add an argument to the list. In the
Name column you can edit the name of the argument (default:
arg1, and so on). In the
Type column, choose a data type (
String,
Boolean,
Integer,
Double, or a 1D or 2D array type). Use the
Move Up (

),
Move Down (

), and
Delete (

) toolbar buttons to organize and remove commands from the list.
From the Output list, select an output data type:
None (the default, for no output),
String,
Boolean,
Integer,
Double, or a 1D or 2D array type. For all output data types, you can enter a name for the method’s output in the
Name field (default:
out). The value of the output variable is what the method returns. If it is unassigned, the method returns the default value for the type (0,
null, or
false).