You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Event Handling > mouseDown

8.30 mouseDown

on.mouseDown(x, y)

This routine is called when the user clicks the mouse. x and y are in window-relative pixel coordinates.

Note

This event will NOT be generated if the right mouse button is being held down.

Introduced in platform.apiLevel = '1.0'