switchByName
Switch to the specific scene by name.
Address
/scene/switchByName [scene name] [switch effect]
Arguments
Type | Description | |
---|---|---|
argument 1 | String | The scene's name |
argument 2 | Int | Transition effect. 0: Cut, 1: Fade. Non-essential parameter, without which it uses the preset transitions in the Switch Settings. |
Example
Switch to the scene named as "new_scene" with the Fade effect.
/scene/switchByName new_scene 1