ScratchData LogoScratchData
Back to kriblo_test's profile

Example: Using a list to check clone results from broadcast

KRkriblo_test•Created April 12, 2021
Example: Using a list to check clone results from broadcast
4
3
25 views
View on Scratch

Instructions

Example: Using a list to check clone results from broadcast. Using a global list, which you clear before broadcasting a message to several clones, which in turn add their results in the list, you can (1) wait for all clones to handle the broadcast, and (2) check what the result was from each or all the clones. In this example, the clones simply add true ("I'm at the target Y") or false ("I'm still on my way to the target Y"). All code by me (@kriblo). Study the code inside.

Project Details

Project ID514328139
CreatedApril 12, 2021
Last ModifiedApril 14, 2021
SharedApril 12, 2021
Visibilityvisible
CommentsAllowed