# Steps to Design (Block mode)

You can learn how to design Script in this section.

Note:

- To create variables, see Steps to Design (Variables, Array, Structure).
- For sample projects, see Setting Examples.

- 1. Overview
- 2. Add Trigger
- 3. Add Logic
- 4. Add Operation

Create the following script.

Drag and drop a Trigger and set a target value.

Note:

- This example is a setting of script. If setting a Global Script, select [GlobalScripts] in [Project Explorer].

- To make script easier to read, you can add comments up to 1000 characters long to a Trigger Block.

- To add comments, right-click the script block and from the shortcut menu select [Add Comment]. Click to display the text cursor and type the comment.
- To remove the comment, right-click the script block and from the shortcut menu select [Remove Comment].
- To show or hide comments, from the script toolbar click the icon to toggle between showing comments or hiding comments in the script.

- The block script authoring environment has been improved, with quicker ways of adding blocks to a script. Hover the mouse over a connector to display an IntelliSense icon and from the displayed list of blocks, double-click to add the block to the script.

Drag and drop a Logic and set a target value.

Drag and drop a Operation and set a target value.