get select data and x,y