Step 11. Object Communication Part 1

Click image to run. One object moves randomly. The other object follows the mouse. An object can be given a function intersects(), with another object as the argument. Each time step, an object can check if the other object intersects it.

World

Tutorial 7.6
Object Communication Part 1
Tweet this step: