reference point (pink dot) finding functionality