View Full Version : if left mouse button is down (n00b)

01-10-2004, 12:50 PM
could someone quick show me how to write a conditional javascript function that queries the current state of left mouse button when the function is called.

you'd think even a noob would know this but i've never actually used it before, and i cant seem to find the answer.


Roy Sinclair
01-12-2004, 04:14 PM
You can't check the current status of a mouse button but you can be informed when it changes and maintain that status yourself.