I have a door that moves very high in to the sky when the global variable is set to one, but when set to zero it moves into its default position.
But then I decided that I wanted the player to go through the door when global variable is set to one, and be blocked when it is set to zero. Instead of the door moving up and down.
This is what I have for the door:
How do I make an object collidable or uncollidable using code?