Which Tortoise will show their "winning text" message? (Green Flag scripts for the two Tortoise sprites shown) (Both "winning text" messages are hidden to start) A) Tortoise 1 B) Tortoise 2 C) Both Tortoise 1 and Tortoise 2 D) Tortoise 1 or Tortoise 2 depending on which sprite is on the top layer in the project. Explanation followed by the Answer ------------------------------------------------ The first tortoise shows its winning variable and runs "stop all", but the script for the second tortoise has already been queued by Scratch to be run. This script now runs (up to a yield point if any) even though the "stop all" of the first tortoise has already been executed. So scripts already queued still run after "stop all". The answer is: C) Both Tortoise 1 and Tortoise 2 But wait ... there's more. Either tortoise could be the first tortoise in the explanation above. The "when Green Flag clicked" script for the tortoise in the topmost layer in the project will be the one run first. So either tortoise could be the "first tortoise" in the explanation above, but the result is the same as the script for the other tortoise still runs after "stop all".
See this tutorial about what happens after the "stop all" block or Red Stop Sign button. Also how projects run in Scratch and writing scripts that run after "stop all" or the Red Stop Sign: https://scratch.mit.edu/discuss/post/3680384/ Tortoise picture from the wonderful project "The Hare and the Tortoise" by Guadalupe and Yakov: https://scratch.mit.edu/projects/380302/