Touch Develop retirement postponed until June 22, 2019. Sign-in and access to cloud assets to be removed on May 23, 2018.Learn More..


commands

Commands are basic operations that your script executes, including API method calls, assignments, and mathematical operations.
Using commands, you can:
You can make commands conditional using an if statement, repeat them using for loops, etc.

examples

In this example, the following line of code contains two commands: the call to the random method of the math library, and the assignment of the resulting value to variable x.
var x := math → random(100)