Skip to content

Please update your browser

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

arrow_back Spinning Obstacle


In this add-on, you'll program the obstacle sprite to spin.

If you already programmed the obstacle to grow with another add-on, that's okay, you can do both.

To start, click on the obstacle sprite.

Then, drag out a turn block and click to try it.

Perfect, it turned.

Next, turn the obstacle forever.

To do that, use a forever loop.

Whoa, that's really fast.

Changing this 15 degrees to something smaller will make it turn more slowly.

Try a few options.

For example, five.

Then one.

Play around with the speed on your own, and find a number you like for your program.

Finally, add an event to tell the computer when to start spinning this obstacle.

In this example, it's when flag clicked, but use any event that makes sense for your project.

Now it's your turn.

Program a spinning obstacle using a turn block and a forever loop.

Start the obstacle spinning with an event.

Choose an Add-On
Spinning Obstacle
Create a more challenging game by making an obstacle spin.
Create an obstacle that slowly grows throughout the game.
Program the goal sprite to chase the player sprite.
Keeping Time (Part 1 of 2)
Create a timer to keep score for this game, and program a way to store the fastest time.
Keeping Time (Part 2 of 2)
Create a timer to keep score for this game, and program a way to store the fastest time.
Redesign Your Maze
Change the look of the maze or draw your own!
Tell a Story
Engage game players with an exciting story for your game.
arrow_backward Back
Next arrow_forward
  1. Choose an Add-On, and click "watch" to learn how to build it.
  2. Once you finish one Add-On, try another one below the video!
  • The song “Magic Marker” is © YouTube-- CC-BY-SA 4.0 does not apply.