Pages: 1
Topic closed
Does the go to front block work when the sprite is hidden? So basically if that's true, then it stores the "layer" of the sprite, and it's applied when it's shown. I made a test here. The purple cat should show if my hypothesis was correct. This was the code for the purple cat:
This was the code for the regular cat:
So when I clicked the green flag, this happened:
When I clicked the green flag again, this happened:
So the first time, my hypothesis didn't work. But in the second time, it did work. Does anyone have an explanation?
Also, I tried this on the Flash Viewer, the Experimental Viewer, Java Viewer, and the offline version (Scratch 1.4). So why is this different for both times? Please help.
Offline
It's because two "go to front" scripts are being played together, so the first time the first one came first and the second time the second one came first.
Offline
Oh, you're right. I did it wrong. Sorry.
Offline
Closed by request of owner.

Offline
Topic closed
Pages: 1