Cookbooks
Pick a recipe, follow the code, and see your sprite do something cool β each one takes just a few minutes!
π Motion
Section titled βπ MotionβMove sprites around the stage β instantly, smoothly, or with bouncing.
Slide a sprite to a position over time instead of jumping instantly.
β± ~3 minDrive a sprite around the stage using keyboard input.
β± ~5 minKeep a sprite moving and flip its direction when it hits a wall.
β± ~3 minMake a sprite continuously track the mouse cursor.
β± ~3 minMake a sprite always face and chase the mouse cursor.
β± ~5 minπ Looks
Section titled βπ LooksβChange how sprites appear β costumes, visibility, speech bubbles, and size.
Show a speech bubble when the sprite is clicked.
β± ~3 minCycle through costumes to create a walking or flapping animation.
β± ~5 minToggle a sprite's visibility on and off using keyboard keys.
β± ~3 minPulse a sprite's size up and down in a loop for a breathing effect.
β± ~5 minπ Sound
Section titled βπ SoundβAdd sound effects and music that play at exactly the right moment.
π Control
Section titled βπ ControlβRun code in loops, repeat actions, and spawn clones.
Run a block of code a fixed number of times using repeat.
β± ~3 minSpawn multiple independent copies of a sprite that each move on their own.
β± ~8 minπ±οΈ Sensing
Section titled βπ±οΈ SensingβReact to what the player does β mouse, keyboard, and questions.