-
Notifications
You must be signed in to change notification settings - Fork 5
Game Bindings
Berke edited this page Jun 23, 2026
·
1 revision
The Game table exposes high-level engine and editor functionality to Lua scripts.
Game.LoadLevel(levelName)Loads a level/scene by name.
| Name | Type | Description |
|---|---|---|
| levelName | string | Name of the level to load |
nilGame.LoadLevel("TestMap")- This function immediately triggers a level change through the editor/runtime system.
- Any unsaved runtime state may be lost depending on engine configuration.