This is an old revision of the document!
Blocks | Description | |
---|---|---|
If block. | Example | |
Wait until condition is true | ||
Stop the script it is in from running. | ||
Stop all scripts in project from running | ||
Repeat loop a defined number of times | ||
Loop while condition is true | ||
Loop a defined number of times and supply the loop counter to blocks inside the loop (Click on to change its name) | ||
Can be used as 2nd parameter in to change starting number… | ||
… and/or size of the step | ||
Used inside a loop to wait for screen refresh | ||
Wait for a specific time period | ||
Loop forever but automatically wait for screen refresh at the end of each loop | ||
Run the following blocks when a key is pressed | Example | |
Send a message out that all scripts can respond to. Additionally, the Go button also sends a broadcast go message out | ||
Attach data to the broadcast | ||
Aim broadcast at specific class | ||
Run following blocks when broadcast message is received | ||
Access the data (if any) sent with the broadcast | ||
Run following blocks when instance image is clicked | ||
UNSURE | ||
Return a value (used when defining own blocks as reporter blocks) |