Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

2. Move Athlete Around
  • 1. Introduction to Conditionals
  • 2. Move Athlete Around
  • 3. Make the Ball Sprite Bounce
  • 4. Bounce Off the Athlete
  • 5. Add-Ons
  • 6. Reflection
  • 7. Wrap-up: Net Sports
  • 8. Wrap-up: Share Your Project
  • 9. Wrap-up: Show Your Project
arrow_backward Back Next arrow_forward
Instructions
  1. Make the athlete sprite move right and left when the right and left arrow keys are pressed using "if" blocks and "key pressed" events.
  2. Add a "set rotation style" block to keep the sprite from flipping upside-down.
  3. Make the sprite move in the direction it's facing with a "move" block.
  4. Use a "forever" loop to make the athlete keep moving as long as a key is pressed.
  5. Start the game with a "when flag clicked" event.