IsMouseButtonPressed

From OxeyeWiki

Jump to: navigation, search

daisy.isMouseButtonPressed(button)

This method returns true if the specified button is pressed down.

Parameter Expected Type Description
button A number 0 being left, 1 being right.
Returns

Returns one Boolean, true if button is pressed, false otherwise.

Daisymoon Video Lib

Example

   local leftMouseButtonDown = daisy.isMouseButtonPressed(0)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox