I want to get x and y coordinates of the square that I am drawing with the mouse. When I get the coordinates than I need to send them to the backend, and now when I draw one