Jump to content

GetMouseButtonMask()?


photo

Recommended Posts

Posted

In the preview we had Input.GetMouseButtonsMask() to get the state of all buttons. Is the whole mouse mask available somewhere in 2.16?

Posted

Hello,

This mask was only used for widgets, so it's now available in the Gui class. The property is called MouseButtons. It consists of Gui.MOUSE_MASK_### values. But it's worth remembering that some buttons in this mask can be changed by the internal logic of the widgets.

×
×
  • Create New...