# Create a method

> Instructions on how to create a method for your Logic script.

Create methods to organize your Logic script into smaller, reusable sections of code.

To create a method, use the following steps:

1. Open your Logic script.
2. Select the **Add** (**+**) icon next to **Methods**. The **New Method** window displays.
3. Change the settings to your preferences. For information about each of the settings, refer to [Methods window UI reference](/unity-studio/develop/logic/methods-variables/methods-ui.md).
4. If you want to add parameters to your method:
   1. In the **Parameters** section, enter a name for your parameter. Make sure the name doesn't contain spaces.
   2. Select the type of value the parameter accepts from the **Type** dropdown.
   3. Select **Add** to add the parameter to your method.
5. Select **Create**.

## Additional resources

* [New Method window UI reference](/unity-studio/develop/logic/methods-variables/methods-ui.md)
* [Create a variable](/unity-studio/develop/logic/methods-variables/variables-create.md)
* [Introduction to variables, methods, and parameters](/unity-studio/develop/logic/methods-variables/variables.md)
