Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How To Code Doors
- GachaAlpha678
-
32 posts
How To Code Doors
Hello there!
I want to enter/exit doors by touching the door and pressing the down arrow key/s button.
Is this possible? I don't know.
Please help me.
I want to enter/exit doors by touching the door and pressing the down arrow key/s button.
Is this possible? I don't know.
Please help me.

- legendary34678
-
1000+ posts
How To Code Doors
Could you share a link to your project? Also, yes it's possible to code doors. You could have the backdrop change when you press a key while touching the door or something similar. It would help if you could explain a little more clearly how you wanted the door to work, though!
- hstep60
-
37 posts
How To Code Doors
You could so something like
Last edited by hstep60 (Aug. 22, 2022 04:25:11)
- mySTeRIOUSLY-
-
3 posts
How To Code Doors
You will need a new hat block: okay but how does the broadcast work??
Under this, you may want to put code to start an animation of the door opening, or change a variable to show that the door is open. What specifically do you want the door to do when it opens?
- legendary34678
-
1000+ posts
How To Code Doors
Yep! When a broadcast block sends out a broadcast, the backdrop and every sprite and clone will receive the broadcast and, if they have the “when I receive” hat block, they will execute the code under that block.
- 09878901234321
-
500+ posts
How To Code Doors
(#10)Hello, please create your own topic instead of posting on old ones. This one isn't that old, but it's nice to keep things organized by creating your own topic.
how do i make doors
Creating your own topic also makes sure you don't forget to follow that discussion, so you will get notifications from it, which you probably won't right now.
You can create your own topic by clicking on the “New Topic” button. You can find it on any forum's home page.
Here's what it looks like:

You can also click it directly from this post if you want.
Last edited by 09878901234321 (June 8, 2023 20:16:28)
- gmodder_wheatlycrab
-
4 posts
How To Code Doors
i was here to make a code that has a answer and a non answer
- deck26
-
1000+ posts
How To Code Doors
Please don't necropost. If you have a question create your own topic but make it clear - your post doesn't mean much to anyone. i was here to make a code that has a answer and a non answer
- Discussion Forums
- » Help with Scripts
-
» How To Code Doors