have inputprocessor interface implemented. now will move according to the coordinate of the touch