automatically pickup nearest object when clicked