Some sprites ignore instructions when I start my project

Let’s say Sprite A is supposed to hide, wait until a condition is met, and then show. I start my project, meet the condition, and A is visible. However, if I stop my project and then start it again, it will still be visible, seemingly ignoring the “hide until condition” part. If I stop and start the project again, it works as intended. Why is this?

Here is the project link: Snap! Build Your Own Blocks

The “Sprite A” in question is the following sprites: Player 1, Player 2, Player 1 HP, Player 2 HP, Player 1 Stamina, and Player 2 Stamina

Press ENTER twice to start the project after you’ve pressed the green flag.

Also, I tried using a “repeat until condition met” block to make it hide constantly until the condition is met. I thought maybe that would solve the issue, but it still “skips” the block and shows anyway.

What do we have to do to make them appear in the 1st place?

Just click enter twice. The idea is that you move your mouse around on the square to select the color for that character. When you press enter, it records that color for that character. You won’t know until you select a color for both characters, but just pressing enter twice should do.

I see your problem - same issue happens on my machine

Pressing Green flag doesn’t hide the players

Thank you! Making a separate “when green flag pressed, hide” script worked.

Aah - I think you may have a race condition then

Adding in a 1 sec wait cures it as well