how can I get the mouse coordinates? I can now see that pageX,pageY, can be run through window.event, but an error is reported by a red underscore in the editor, so I want to ask how to get the mouse coordinates correctly.
the error is that there is no pageX attribute in the event type.