switchByIndex

Switch to the specific scene by index.

Address

/scene/switchByIndex [index number] [switch effect]

Arguments

Type Description
argument 1 Int The scene index in the list, which can be 1, 2...
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 Scene 2 with the Fade effect.

/scene/switchByIndex 2 1

Note: Floating point numbers will be rounded down.

/scene/switchByIndex 1.9 1 = /scene/switchByIndex 1 1

results matching ""

    No results matching ""