Light Switch

The light switch package ties the Wall Switch entity to an array of lights, letting you turn them on/off by interacting with the switch.

Installation

Install the Light Switch package

Usage

Drag the Light Switch template on to a wall somewhere. In the properties of the lightSwitchScript, assign the lights you would like this light switch to control in the lights property.

Set the on property to determine whether the light should be on or off by default.

2 Likes