Here is an example we went over in class that uses conditionals to trigger events based on a markers proximity to points. The volume and points are internalized in the definition, but you can enter your own. Download the definition here: Point_Proximity