Lua
Preview Console
Waiting for Lua runtime…
Click to interact · Alt-click to inspect · Ctrl + wheel to zoom · Space + drag to pan
0
Select an element in the preview or hierarchy.
Built-in Templates 10 control types
Playground-only IDs. Use real Client Control Template IDs in Miliastra Test Play.
Image Assets 1,543 images
Browse 1,543 hosted sprites, inspect artwork and copy original IDs for Lua. A new Genshin-aware identity audit is in progress; use the review filter to distinguish newly rechecked images from the older audit.
Sound Effects SFX 1,997 sounds
Audio previews use the source site unless you import local MP3s or host a verified local audio set.
Catalog from xiaomol444's SFX player. Descriptions and suggested uses, when present, are AI-generated. Source-hosted audio is not bundled with the Playground. Import locally available ID.mp3 audio files or a folder of them for playback without the provider. The original SFX export ZIP contains metadata only; extract sound_effects.json to browse it offline.
Imported Templates .gia No imports
Server Signals
No registered handlers
Parameters are sent in order. Types follow Enum.ParamType; Vector3 uses X, Y, Z.
Custom Variables
Simulate player, stage, or character variables. Changes trigger registered Lua handlers.
Stack
Local variables
WatchesSaved in this browser
Trace, globals & breakpoint conditions Detailed diagnostics
F5 continue · F10 over · F11 into · Shift+F11 out · Shift+F5 stop. Breakpoints require executable Lua VM line events; a bare
local variable declaration without an initializer may not emit one.Parameters used through script:GetParam(...) will appear here.