Create a method
Instructions on how to create a method for your Logic script.
Read time 1 minuteLast updated 2 days ago
Create methods to organize your Logic script into smaller, reusable sections of code. To create a method, use the following steps:
- Open your Logic script.
- Select the Add (+) icon next to Methods. The New Method window displays.
- Change the settings to your preferences. For information about each of the settings, refer to Methods window UI reference.
- If you want to add parameters to your method:
- In the Parameters section, enter a name for your parameter.
- Select the type of value the parameter accepts from the Type dropdown.
- Select Add to add the parameter to your method.
- Select Create.