Script what happens in your game
AeoScript is the gameplay scripting language for Worldkiln. Write interactions, control Characters, respond to events, show interfaces, play sounds, and save progress. Scripts run inside the engine and use its native world, physics, and UI systems.
AeoScript files use the .aeo extension. Create them in the Worldkiln Script Workspace or edit the files in your project.

Try AeoScript
score: number = 0
on coin_collected(amount) {
score += amount
debug.log("Score:", score)
}
event.fire("coin_collected", 1)
AeoScript provides typed mutable variables, functions, control flow, events, baskets, maps, and cooperative waiting. It does not use semicolons.
What can you script?
| Gameplay | World | Presentation |
|---|---|---|
| Keyboard and mouse input | Actors and Cells | Game interfaces |
| Character movement | Physics and navigation | Gameplay cameras |
| Animation and attachments | Runtime objects | Audio and particles |
| Save data | Object attributes | Player feedback |
Learn in the right order
- Your first AeoScript file: create a script and run it.
- Language syntax: understand variables, functions, and conditions.
- Finding objects: locate Actors and Cells.
- Events: connect player actions to gameplay.
- Modules: organize code across files.
- Complete API reference: find supported calls and properties.
Made for Worldkiln
AeoScript integrates with Worldkiln. Create and bind scripts, run in Play mode, inspect Problems and Output, and build a standalone game. Changes during Play do not automatically rewrite the authored World.
Start here: First script · API Reference · Debugging