Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 604 Bytes

do_now_26.md

File metadata and controls

19 lines (10 loc) · 604 Bytes

Bouncing ball

  1. Open a new project and change the sprite's costume to a ball.

  2. Save your project as DoNow2.6

  3. Using the following blocks, write a script that continuously moves the ball across the screen and bounces the ball when it hits the edge of the screen.

    if on edge, bounce

    when Green Flag clicked

    move 3 steps

    forever

  4. Add a second sprite. Add the same script from step 2 above for the new sprite.

  5. What happens when you run? Explain what you observe.