A collision avoidance system within an augmented reality environment determines a hazard and notifies the user of the hazard. By determining that the attention of the user is focused on the mobile computing device, and that there is a hazardous condition that the user is approaching, the device provides an alert to the user as to the hazardous condition to protect the user from the hazard. Known hazardous conditions can be stored and provided to a mobile computing device when that mobile computing device is within the vicinity of the known hazardous conditions. The system can also create geofences and provide notifications to the user when a boundary is approached or crossed.