Ultimately I want to use it so when the player hits it, it will rotate door(s) one way and when hit again, it rotates the other way. I'm slowly working towards that.

This is also helping me learn how to code. I'm a work in progress. laugh

Right now the switch will move down when I hit enter but then it moves up on it's own and stays there.

I'd like to learn how to debug better. I tried to take the variable active_tri out of the action and list it at the top of the screen so I could follow it in SED watch but the value never changes. Am I missing something?