Skip to main content Skip to complementary content
Close announcements banner

Organizing the script code

You can divide your script into sections to organize the structure. The script is executed in the order of the sections from top to bottom. The script must contain at least one section.

Creating a new script section

You can insert new script sections to organize your code.

Do the following:

  • Click P.

The new section is inserted after the currently selected section.

Deleting a script section

You can delete a script section, including all code in the section.

Information noteDeleting a script section cannot be undone.

Do the following:

  • Click E next to the section tab to delete it. You need to confirm the deletion.

    The section is now deleted.

Renaming a script section

You can rename a script section.

Do the following:

  1. Click on the section name and type to edit the name.
  2. Press Enter or click outside the section when you are finished.

The section is now renamed.

Rearranging script sections

You can rearrange the order of sections to change the script execution order.

Do the following:

  1. Select the section you want to move.
  2. Put the cursor on the o drag bars and drag the section to rearrange the order.

The sections have now been rearranged.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!