You need to give more details or else we cannot help. Can you open it? Is there a combination?
Offline
Oh- it would be something like- if sprite 1 touched key broadcast Key obtained. When Key obtained revcieved Key next costume (invisibel)
Door: when Key obtained recieved
If color (color of sprite 1) touches color (color of door) Door open
Don't forget to put a forever n there
Offline
Or is it like a platformer, and you want the door to act like a wall?
Offline
To make an object solid:
when gf clicked forever if <key [right arrow v] pressed ?> change x by (10) if <touching color [#000000] ?>//colour of wall or door change x by (-10) end end if <key [left arrow v] pressed ?> change x by (-10) if <touching color [#000000] ?> change x by (10)
Offline
There are many ways this can be done, by what means will the key open the door? Will you be holding the key out in plain sight? Or will it be an item in your inventory, hidden from view? When asking for help, always be as specific as possible, so you will get what you need.
Offline