added a getClose function to move close to a point.