get x,y from event