Skip to main content

Prop Switch Device

The prop_switch_device is a creative device that toggles the visibility of a set of creative props based on the state of a switch device. When the switch is activated, all associated props are shown; when the switch is deactivated, they are hidden.

Properties

Switch

Type: switch_device
The switch component that controls the visibility of the props. When activated, it triggers the props to be shown; when deactivated, it triggers them to be hidden.

Props

Type: []creative_prop
An array of creative props that will be toggled by the switch. All props in this list will be shown when the switch is turned on and hidden when it is turned off.