ScratchData LogoScratchData
Back to papipupepappa's profile

Order of Execution

PApapipupepappa•Created July 11, 2022
Order of Execution
25
13
182 views
View on Scratch

Instructions

This project demonstrates the order of execution among sprites and the stage. Click and drag a sprite to put it on top. Then click the green flag again to update the list.

Description

⚠️ Although this allows you to control the order of execution implicitly by arranging the layering of your sprites, I would advise you NOT to do this, since it will make the code very difficult to follow. Instead, control the order of execution explicitly, using messages for example. If you return to the project later, you will be very thankful that you did. For a much more thorough demonstration, which also demonstrates the order of execution among scripts WITHIN each sprite, check out this project by @TheLogFather, which was where I learned about this in the first place: https://scratch.mit.edu/projects/18490761/

Project Details

Project ID713310790
CreatedJuly 11, 2022
Last ModifiedJuly 12, 2022
SharedJuly 11, 2022
Visibilityvisible
CommentsAllowed