Door with key

Hi, i would like to have a door that is locked until you have the key. I have followed tutorials from youtube, but every time i go click on the locked door to have it show the "door is locked" text the door will momentarily disappear then come back. How can i keep this from happening? Edit: each event page does have the door icon in it. so i dont think its that. Either way ill take the help.
Check "Direction Fix" in the event's options. If that doesn't fix it, you should post a screenshot of the event setup.
Also, if you are intending to use a key, presumably you will want the player to go through the door when the key is present.  In which case, you might be better off using a proper door graphic from one of the !Door sprite sheets instead of one where you need to be doing Direction Fix.

That way (if this is what you want to happen) you could do it all on one event page (your op suggests you've got several) which helps keep your events simple and 'clean'.

Use Conditional branch Key is in the inventory.

If 'yes' then copy/paste a door transfer command from one created with 'Quick Event Creation'

in the 'Else' branch put whatever text you are using e.g. "Without a key we are never going to get through this door."

Original thread: https://forums.rpgmakerweb.com/threads/door-with-key.22742/