How do you make a door open and close with 'e'? (C#) And does NOT close on it's own. (C#)

Most people like there doors to swing open with an animation, but I want mine to simply go to the open position with out a moving effect. I would like it to just BE OPEN when ‘e’ is pressed and the mouse is on the door. I use C#.

How about having two objects? One representing the closed-door and another representing the open-door. Then simply toggle between them (activate one, deactivate the other) whenever the desired event happens.

Not the most elegant solution but it should work.