Event Bricks

From Catrobat
Jump to: navigation, search

< Back to brick documentation


WhenStartedBrick

When program started


´brick When started.png

Runs the script when the program starts.

WhenTouchDownBrick

When screen is touched


´brick screen touched.png

Runs a script when the screen is touched.

WhenBrick

When tapped


´brick when tapped.png

Runs a script when the object is touched.

BroadcastReceiverBrick

When I receive (message)


Brick when I receive.png

Runs script below when it receives specified broadcast message.

BroadcastWaitBrick

Broadcast and wait (message)


Brick braodcastandwait.png

Sends a message to all sprites and waits.

BroadcastBrick

Broadcast (message)


Brick broadcast.png

Sends a message to all objects.

CollisionReceiverBrick

When physical collision with (object)


Brick physical collision.png

Runs a script when if physical collision with an other physical object occur.

WhenConditionBrick

When (1 < 2) becomes true


Brick when.png

Runs a script when the given condition/value becomes true.

WhenBackgroundChangesBrick

When background changes to (background)


Brick when background changes to.png

Runs a script when backdrop switches to a certain background.