URL parameters
Play is configured primarily via URL query parameters. Parameters are parsed on the main thread and (for backend-relevant knobs) propagated to the Worker.
This page is end-user focused and documents the most commonly-used knobs.
Boolean tokens
For boolean parameters, Play accepts these (case-insensitive):
true:
1,true,yes,onfalse:
0,false,no,off
For verbose logging, log=debug is also accepted.
Parameters
Key |
Type |
Default |
Scope |
Notes |
|---|---|---|---|---|
|
string |
builtin default |
main → worker (load) |
MJCF path under |
|
string (URL) |
(auto) |
main → worker |
Base URL for forge |
|
string |
|
main → worker |
MuJoCo/forge dist version token. Used to expand |
|
string list |
empty |
main |
Comma-separated ESM import specifiers/URLs. Each entry is imported via
dynamic |
|
bool |
false |
main |
Embed mode for iframe/container hosting. Play sizes to the parent
container instead of forcing a |
|
string |
dark |
main |
Initial UI theme. Supported values: |
|
string |
|
main |
Initial UI font scale preset. Supported values: |
|
string (URL) |
repo-local |
main |
Base URL for built-in environment preset assets such as
|
Developer/debug parameters
Play also supports additional developer/debug URL parameters (strict mode, verbose logs, renderer debugging, tick-rate clamps, etc). To keep this page user-focused, those knobs are documented under Runtime configuration.
One commonly-used debug knob:
cacheBust=always: forces cache-busting (addscb=...) for the Worker URL and forge resource URLs. Default is cache-friendly (nocb).
Deprecated / reserved parameters
These are recognized by the runtime but are currently deprecated, internal, or have no user-facing effect:
mode=...: deprecated and ignored (Play is Worker-only).cb=...: internal cache-bust parameter (only used whencacheBust=alwaysis enabled).hide/dump/find/hide_big/big_n/big_factor/hide_index: parsed by the legacy param parser but not currently applied.