: load¶
Switch to another scene
Usage: : load [OPTIONS] <PATH>...
Arguments¶
| Name | Description | Possible values | Default |
|---|---|---|---|
<PATH> | The path of the scene, e.g. res://main.tscn |
Options¶
| Name | Description | Possible values | Default |
|---|---|---|---|
-t--threaded | If set, use ResourceLoader to load the scene on a background thread. May be faster and reduce lag spikes, but could cause instability or mem leaks, so be careful! | true, false |