Start the program by pressing the green flag. Watch what happens and then click on "See inside" to trace through the code and follow what order it happens in and why.
Thanks to David for creating the original program!