beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Get mouse coordinates and events

summary (oneliner)

doc

issues

youtube id

collections

related ops

Inputs

Active (boolean /Number)

Behavior

relative (boolean /Number)

normalize (boolean /Number)

flip y (boolean /Number)

Area index (integer /Number)

Behavior

Area (string /Number)

right click prevent default (boolean /Number)

Touch support (boolean /Number)

Smoothing

smooth (boolean /Number)

smoothSpeed (Number)

multiply (Number)

Outputs

x (Number)

y (Number)

button down (boolean Number)

click (Trigger)

Button Up (Trigger)

click right (Trigger)

mouseOver (boolean Number)

button (Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
Mouse Draw Spline Example:

Using the ScreenPosTo3d op we can convert the mouse coordinates to 3D coordinates. For this you need to disable the Flip Y port of the Mouse op.
Using the ArrayPushValue3X op we add the (converted) x and z coordinates (together with z=0) to the array and draw it with the SimpleSpline op.



Credits


Changelog


created op
2020-02-19 - pandur

Examples using Mouse_v2

Public Patches using Mouse_v2