Possible Duplicate:
How do I get the coordinates of a mouse click on a canvas element?
I have yet another question regarding the html5 canvas. I've been making several cool projects with this feature in Javascript, but I'm now looking for ways to use the mouse to make the canvas more interactive. All I need is a simple way to set a variable to either the mouse's x value, or its y value.
Thanks!