Control Bricks

From Catrobat
Jump to: navigation, search

< Back to brick documentation


WaitBrick

Wait (1) second


Brick wait.png

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

NoteBrick

Note


Brick note.png

Add a comment to your Pocket Code program.

ForeverBrick

Forever


Brick forever.png

Runs the bricks infinitely.

IfThenLogicBeginBrick

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.

IfLogicBeginBrick

If (1 < 2) is true then


Brick if.png

WaitUntilBrick

Wait until (1 < 2) is true


Wait until.png

Waits until condition is true, then runs the blocks below

RepeatBrick

Repeat (10) times


Brick repead 0.png

Runs the eclosed bricks a specified number of times.

RepeatUntilBrick

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.

SceneTransitionBrick

Continue scene (scene)


Brick continue.png

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

SceneStartBrick

Start scene (scene)


Bricks start scene.png

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

CloneBrick

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.

DeleteThisCloneBrick

Delete this clone


Brick delete this clone.png

Deletes the current clone.

WhenClonedBrick

When I start as a clone


Brick when I start as a clone.png

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

StopScriptBrick

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


Brick stop this script.png

Stops scripts within the object.