PDA

View Full Version : Mouse position relative to stage


watsau
12-22-2007, 09:39 AM
I'm having trouble with the mouseX and mouseY values after resizing the stage.

Everything works well with the default size of the window. However, after I resize the window and take my cursor to the left edge of the stage, "mouseX" values are negative. I want the left edge to start from 0 after resize aswell... How is this possible?