229
edits
No edit summary |
|||
| Line 17: | Line 17: | ||
=== listen_mouse_clicks: func(object, function) === | === listen_mouse_clicks: func(object, function) === | ||
: creates the listener and binds the events to ''function(e)''. | : creates the listener and binds the events to ''function(e)''. Also checks the {{key press |ctrl}} key: ''ctrl-click'' outputs the mouse coordinates. | ||
'''object''' as the calling object.<br /> | '''object''' as the calling object.<br /> | ||
'''function''' as the callback function.<br /> | '''function''' as the callback function.<br /> | ||
edits