Why is the block yellow

Can someone please explain to me why the block in my code is yellow. (also the code wont work)

1 Like

More than likely, it’s because you already have an event handler for the same event (on sprite of kind Player hits wall at location).

4 Likes

You have another block for it. IF there are 2 blocks the same, it won’t work, but it only works for some blocks.

1 Like