You have met cls, circfill, spr, map, key, mouse, sfx. There are a few dozen functions in all — and you never have to memorize them. The editor tells you what exists as you type.
1. Browse the Docs tab
Click the Docs tab. Every function is listed with its full signature and a one-line description, grouped by category — Screen, Shapes, Text, Sprites, Map, Sound, Input, Math. It is the whole language on one page; skim it once and you will know what is possible.
2. Autocomplete while you type
In the Code tab, start typing a function name and a list pops up. Type rect and you will see rect, rectfill. Pick one and it fills in the name; the signature reminds you what arguments it takes:
function draw() {
cls(1);
rectfill(20, 20, 100, 60, 3); // x1, y1, x2, y2, color
}This is the fastest way to discover functions. Looking for something to draw a triangle? Type tri and autocomplete shows tri and trifill. Want randomness? Type rn and find rnd.
3. Read the signature at the cursor
Put your cursor inside a function call and the editor shows that function’s signature and what each argument means — handy when you remember the name of a function but not the order of its arguments (is it circfill(x, y, r, color) or circfill(x, y, color, r)? The hint settles it).
What you learned
- The Docs tab lists every function, with signatures, grouped by category.
- Autocomplete in the Code tab suggests names as you type — great for discovery.
- The cursor doc-hint reminds you of a function’s arguments and their order.
- The API is small and consistently named, so you can often guess and confirm.