Please enable JavaScript to use CodeHS

Coding in Science

Lesson 3.4 Changing Speeds on Collision

Description

Students will alter the given code so that upon collision, the objects will move in opposite directions than initially. They will also see how differing the value given to the speed variable will change the movement.


Objective

Students will be able to change the direction of movement of each circle upon collision in order to begin the first steps toward studying the collision that occurs.