Skip to content
AEOWUN
Docs Menu

AeoScript

Discover AeoScript, Worldkiln’s gameplay scripting language.

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.

AeoScript editor

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

  1. Your first AeoScript file: create a script and run it.
  2. Language syntax: understand variables, functions, and conditions.
  3. Finding objects: locate Actors and Cells.
  4. Events: connect player actions to gameplay.
  5. Modules: organize code across files.
  6. 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