Houdini 21.0 Nodes APEX nodes

uievent::Device

Fetches information about the pressed mouse button from the uievent.

On this page
Since 21.0

This node gives access to the pressed mouse button and whether any modifier keys have been held in combination with the mouse press.

Inputs

uievent: Float

The dictionary containing various uievent states that can be queried by the control graph gadget during UI interactions.

Outputs

mousebutton: Int

An integer representing the pressed mouse position, with 0 for Left, 1 for Middle, and 2 for Right button.

modifier: Int

A bit pattern respesenting the pressed modifier keys, with 0 for no modifiers pressed, 1 for Shift, 2 for Ctrl, and 3 for Shift and Ctrl.

See also

APEX nodes