modify_project_settings
Update project-wide settings—physics, rendering device, layers, loading screen, script order, input, resolution—by passing only fields to change. Returns full resulting snapshot.
Instructions
Modify project-wide settings such as physics engine, rendering device (WebGL2/WebGPU), layers, loading screen, script loading order, input, and resolution. Pass a partial object of setting path/value pairs (nested objects or dot-paths, e.g. { enableWebGpu: true, "layers.0.name": "World" }); only the provided fields change. Returns the full resulting project settings snapshot. Physics: use3dPhysics and useLegacyAmmoPhysics are legacy asm.js Ammo loader flags and are not supported; setting either to true is rejected (clearing them is allowed). Enable physics with the Editor IMPORT AMMO button, which imports the Ammo WASM module asset. When NOT to use: to change per-scene settings like fog or gravity (use modify_scene_settings) or a single entity (use modify_entities).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settings | Yes | Partial project settings to change (path/value pairs); only provided fields are modified |