when bandeira clicked
Starts the script when someone clicks the green flag.
Starts the script when someone clicks the green flag.
Starts the script when a key is pressed.
Starts when someone clicks this sprite on the stage.
Starts once each time this sprite touches another one, the pointer or the edge. It doesn't repeat while still touching: perfect for drums, collecting items and collisions.
Starts when the backdrop switches to the chosen one.
Starts when a message is broadcast (by any sprite).
Sends a message to every sprite. It is how sprites talk.
Sends the message and waits for everyone who received it to finish.
Does the same as clicking the green flag: stops everything and starts the project from the beginning. Great for "Play" and "Play again" buttons in exported games (websites, itch.io, Capacitor app), which come without the flag bar.
Does the same as the Stop button: stops all scripts, sounds and motors. In an exported game without the bar, "Tap to play again" appears.
Starts a script when this happens.
Starts a script when this happens.
Starts a script when this happens.
Starts a script when this happens.
Answers true or false. Use it in "if", "repeat until" and "wait until".
Gives a number or text. Put it inside a round slot.
Gives a number or text. Put it inside a round slot.
Gives a number or text. Put it inside a round slot.
Does an action. Snap it below another block.
Shows or hides the default on-screen mobile controls (to use default controls or create custom actor buttons).
True if the default on-screen mobile control buttons are visible.
Simulates pressing or releasing a keyboard key. Ideal for programming custom mobile control buttons made with sprites.
Starts when someone clicks the stage.
Starts when this stage (scene) begins.