I have a lightswitch (switch) which is on a wall. When the light is on I want it to reveal an exit. Currently the exit is locked when the light is not switched on. When the light is switched on I've set a script to unlock the exit, yet it remains locked. I've taken a screen shot of my setup for the script. I wonder if this has something to do with the hierarchy of my tree on the left? Surely the switch has to be an object of the wall. The wall is a surface. The light can switch on and off and when you look, the description for light on or light off is correct, so why won't the exit unlock when the light is switched on?