Wait (number) seconds

Brick wait.png

Waits a specified number of seconds, then continues with next brick.

Note

Brick note.png

Add a comment to your Pocket Code program.

Forever

Brick forever.png

Runs the bricks infinitely.

If (1 < 2) is true then ... Else ...

Brick if.png

If the condition is true, run the bricks inside the if-area; if not, run the bricks inside the else-area.

If (1 < 2) is true then

Brick if.png

Wait until (1 < 2) is true

Wait until.png

Waits until condition is true, then runs the blocks below

Repeat (10) times

Brick repead 0.png

Runs the eclosed bricks a specified number of times.

Repeat until (1 < 2) is true

Brick repeat.png

Repeat blocks that follow until condition is true. Checks to see if condition is false; if so, runs blocks inside and checks condition again. If condition is true, goes on to the blocks that follow.

Continue scene (scene)

Brick continue.png

Jumps to the next scene as soon as the script is triggered and continue this scene.

Start scene (scene)

Bricks start scene.png

Starts with the chosen scene from the beginning as soon as the script is triggered.

Create clone of (Object)

Brick create clone of.png

Creates a clone (temporary duplicate) of the specified sprite. Make sure you've chosen the sprite you want to clone from the menu in the block.

Delete this clone

Brick delete this clone.png

Deletes the current clone.

When I start as a clone

Screenshot_20190828-171912_Pocket Code.jpg

Tells a clone what to do once it is created. The attached script is triggered as soon as the clone is created.

Stop script/s (Stop this script / Stop all scripts / Stop other scripts of this object)

Screenshot_20190828-171656_Pocket Code.jpg

Stops scripts within the object.