Hi, i'm trying to make a method to get the coordinates from a canvas with a mouse click. The problem is that my method doesn't wait a event to happen, so i'm always returning trash memory... is there a way, to make the method wait untill the coordinates have changed by the mousePressEvent ?!