Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 839 Bytes

do_now_21.md

File metadata and controls

10 lines (8 loc) · 839 Bytes

Introduction to loops

Open this starter project, run the scrpt and test it, then answer these in your notebook.

  1. What is the forever block, and why is it important for this program?
  2. What happens if you take it out temporarily, reattach the rest of the script to the When Green Flag clicked block, and run the program?
  3. What does the point direction 90 do to the sprite?
  4. What would happen if you decrease or increase the number of steps?
  5. Add scripting so that if the user presses the left arrow key, the sprite faces the left direction and moves a few steps in that direction. Test to make sure that this works and also that right arrow key still works.
  6. Save your project as DoNow2.1.