Motion
Get Motion

ReferenceScripting APIMotionPointerbuttons

MotionPointer.buttons

property

The buttons held now, a bit each: 1 the main one, 2 the second, 4 the middle.

Namebuttons
Kindproperty of MotionPointer
Called asscene.pointer.buttons
As a nodeIs Mouse Button Down (logic graph)
Since0.4

Syntax

readonly buttons: number