Reference
Everything you can call in sprite code, grouped by what it does. Auto-generated from Leopard 1.2.1 โ 125 free functions and 235 engine members.
๐ฎ Free functions
Section titled โ๐ฎ Free functionsโThese are the functions you use every day when writing sprite code. Pick a category to see them all:
๐จ Color Build and work with colors for effects and the pen.
๐ Control Loops, waits, clones, and stopping scripts.
โก Events React to clicks, key presses, broadcasts, and the green flag.
๐ Layers Control which sprites appear in front of or behind others.
๐ Looks Change costumes, size, visibility, and speech bubbles.
๐ Motion Move, glide, bounce, and rotate sprites around the stage.
๐ข Operators Math, random numbers, and string operations.
๐๏ธ Pen Draw lines and shapes directly on the stage.
๐ฑ๏ธ Sensing Detect the mouse, key presses, touching, and ask questions.
๐ Sound Play, stop, and control sounds and music.
๐ฆ Variables Create and manage variables shown on the stage.
โ๏ธ Engine classes
Section titled โโ๏ธ Engine classesโThe underlying engine API โ useful for advanced projects or when you need more control than the free functions provide.
Color A color value used for effects and pen drawing.
Costume An image that a sprite can wear.
Project The top-level container for the whole game.
Sound An audio file attached to a sprite or the stage.
Sprite The main class for every character on the stage.
Stage The background and container for all sprites.
Trigger An event handler that starts a script.
Watcher A variable display shown on the stage.