tiffany_carter
tiffany_carter Jan 16, 2026 • 0 views

Simple coding examples: Connecting blocks to make things move

Hey there! 👋 Let's learn how to make things move using simple coding blocks. It's easier than you think and super fun! 🎮
💻 Computer Science & Technology

1 Answers

✅ Best Answer
User Avatar
ronald474 Jan 3, 2026

📚 Simple Coding for Movement: Quick Study Guide

  • 🧱 Connecting Blocks: In visual coding environments like Scratch, you drag and drop blocks to create scripts.
  • ➡️ Movement Blocks: Blocks like "move [number] steps" or "change x by [number]" control an object's position.
  • 🔄 Looping Blocks: "Forever" or "repeat [number]" blocks make actions happen continuously or a set number of times.
  • 🕹️ Event Blocks: "When [key] pressed" or "when flag clicked" start scripts based on user interaction.
  • 🧭 Direction: Objects have a direction (0-360 degrees) that determines where they move when using "move" blocks.
  • Coordinates: The stage uses x and y coordinates. Changing x moves objects horizontally; changing y moves them vertically.
  • 💡 Tips: Combine different blocks to create complex movements. Experiment with different values to see how they affect the object's motion!

🎮 Practice Quiz

  1. Which block is commonly used to make an object move forward in Scratch?
    1. A) say [message] for [seconds]
    2. B) move [number] steps
    3. C) play sound [sound] until done
    4. D) change color effect by [number]
  2. What does the "forever" block do?
    1. A) It stops the script.
    2. B) It repeats the blocks inside it once.
    3. C) It repeats the blocks inside it continuously.
    4. D) It does nothing.
  3. If an object's direction is 90 degrees, which way will it move when using the "move" block?
    1. A) Up
    2. B) Down
    3. C) Left
    4. D) Right
  4. What does changing the 'x' coordinate of an object do?
    1. A) Moves it up and down
    2. B) Changes its color
    3. C) Moves it left and right
    4. D) Rotates the object
  5. Which block starts a script when a specific key is pressed?
    1. A) when flag clicked
    2. B) when this sprite clicked
    3. C) when [key] pressed
    4. D) when backdrop switches to [backdrop]
  6. Which of the following is NOT a movement block?
    1. A) move [number] steps
    2. B) go to x: [number] y: [number]
    3. C) turn [direction] [number] degrees
    4. D) say [message] for [seconds]
  7. What is the purpose of the 'repeat [number]' block?
    1. A) To run a set of blocks indefinitely.
    2. B) To run a set of blocks a specific number of times.
    3. C) To stop the script.
    4. D) To change the object's color.
Click to see Answers

1: B, 2: C, 3: D, 4: C, 5: C, 6: D, 7: B

Join the discussion

Please log in to post your answer.

Log In

Earn 2 Points for answering. If your answer is selected as the best, you'll get +20 Points! 🚀