So I made a project in scratch where people have to jump to get apples. The thing is, I made a block and I want the character to not go forward when it hits that block.
You can see the top block where the apple is on. When this character touches it, it should not go past.
You should check if the player is not touching the block, and only let the player move if that is true. If not, it shouldn't do anything. If you posted your code, I could answer this better, though.