Control Structures: While Loop

A While Loop in coding can be thought of as a repeating If statement. While a condition is true, then the instructions within the loop are executed.

In this video, we will have a car that will keep moving forward a small amount if it is NOT colliding with a box.

 

soccer

Activity - Soccer Game

Create a scene where you have 3 players and a soccer ball. Write a simple animation where the 3 players pass the ball to each other.

soccer code

home   left arrow   right arrow