Press Space to change the shape of the environment. Click the Green Flag to start the simulation. The dots moving away from the bat is the sound waves. When it hits something in the environment it bounces and goes back to the bat. The bat uses the time differentence and the intensity of the sounds to determine it's environment.