Create an interactive light
Switch PointLights, SpotLights or SurfaceLights with a prompt or your own button.
Choose the light assembly
Select the Part or Model containing your PointLight, SpotLight or SurfaceLight. Choose Load selection, then Behavior → Light. The object stays in place while its lights turn on or off.
Set its starting state
Choose Starts on or Starts off. In Player use, set Auto-off (sec) to 0 for manual switching or choose a delay. Preview the result, then Apply.
Use a separate switch
For a lamp operated only by a wall switch, turn Player use → On this object off. Connect your own button or switch after applying the Light behavior.

Link and test
- Keep the saved lamp loaded and select your button or switch.
- Open Switches → Connect. Use Test connection to preview the target.
- Start Play and activate the switch. Check the lamp, any auto-off delay and access rules.
To animate the switch itself, follow Animate the switch itself.