fnc_getPosInArea
now considers dir of trigger/marker