Looks Bricks

From Catrobat
Jump to: navigation, search

< Back to brick documentation


Watch the videos beside the bricks to get an explaination of the brick functionality.


SetLookBrick

Set to look (look)


Brick switch look.png

Switch appearance to change the look of a object.


NextLookBrick

Next Look


Brick next look.png

Switches the sprite to its next look.
(You can change the order of the different looks of one object)

SetBackgroundPreviousBrick PreviousLookBrick

Previous look


Brick previous.png

Switches the sprite to its previous look.
(You can change the order of the different looks of one object)

SetSizeToBrick

Set size to (60) %


Brick set size.png

Sets the size of the current sprite.


ChangeSizeByNBrick

Change size by (10)


Brick change size.png

Change the size of the current sprite about the specified amount.


HideBrick

Hide


Brick hide.png

Makes the sprite invisible.


ShowBrick

Show


Brick show.png

Makes the sprite visible on the screen.


SetTransparencyBrick

Set transparancy to (50) %


Brick set transparency.png

Sets the sprite´s transparency to a specific value.


ChangeTransparencyByNBrick

Change transparancy by (25)


Brick change transparency.png

Changes the sprite´s transparency by the specified amount.


SetBrightnessBrick

Set brightness to (50) %


Brick set brightness.png

Sets the sprite´s brightness to a specific value.


ChangeBrightnessByNBrick

Change brightness by (25)


Brick change brightness.png

Changes the sprite´s brightness by the specified amount.


SetColorBrick

Set color to (0.0)


Brick set color brick.png

Sets the colour of the sprite to the given colour.

ChangeColorByNBrick

Change color by (25.0)


Brick change color by.png

Changes the colour of the sprite by the given amount.

ClearGraphicEffectBrick

Clear grahpic effects


Brick clear graphic.png

Clears any graphic effect of the sprite such as brightness and transparency.

CameraBrick

Turn camera (on / off)


Turns the devices camera on/off

ChooseCameraBrick

Use camera (back / front)


You can choose between the front or the back camera that should be used.

FlashBrick

Turn flashlight (on/off)


Turns the flash of the device either on or off.

AskBrick

Ask (name) and store written answer in (variable)


Brick ask and store written answer.png

Asks the question within a dialog and stores the answer in a new variable.


SetBackgroundBrick

Set background


Brick set background.png

Switch to the specified background


SetBackgroundAndWaitBrick

Set background and wait


Set background and wait.png

Switch to the specified background and wait for its scripts to finish.

SayBubbleBrick

Say (Hello!)


Brick say.png

Say words in a speech bubble


SayForBubbleBrick

Say (Hello) for (1) second


Brick say for.png

Say words in a speech bubble for a number of seconds


ThinkBubbleBrick

Think (Hmmmm!)


Brick think.png

Displays words in a thought bubble

ThinkForBubbleBrick

Think (Hmmmm!) for (1) second


Brick think for.png

Displays words in a thought bubble for a number of seconds.