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

8.39 rightMouseDown

on.rightMouseDown(x, y)

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

Note

Only available on the desktop version.

Mouse events are exclusive, which means that a rightMouseDown event cannot occur while the left mouse button is being held down and vice versa.

Introduced in platform.apiLevel = '1.0'