Mouse_v3 Op
Get mouse coordinates and events
Summary (oneliner)
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Caniuse query
Inputs
Coordinates index (integer /Number)
Area index (integer /Number)
flip y (boolean /Number)
right click prevent default (boolean /Number)
Touch support (boolean /Number)
Active (boolean /Number)
Outputs
x (Number)
y (Number)
click (Trigger)
click right (Trigger)
Button is down (boolean Number)
Mouse is hovering (boolean Number)
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.
Patches using Mouse_v3
Changelog
created op 2022-11-18 - pandur | |
Ops.User.pandur.MouseV3 renamed to Ops.Devices.Mouse.Mouse_v3 2022-11-18 - pandur | |
feature | add normalization switch: more normalizing options 2022-12-14 - pandur |
improvement | cleanup op ports and remove stuff thats mostly not used 2022-12-14 - pandur |
improvement | better default values 2022-12-14 - pandur |