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

Picker Op

Ops.Gl.Shader.Picker


Picker
Namespace: Ops.Gl.Shader

Op author: tim

Test if the mouse hovers over drawn elements


summary (oneliner)

note: picker op has a built in Use Mouse Coordinates toggle that will also work with touchscreen controls. You don't need to plug in a mouse or touchscreen op to it then.



doc

issues

youtube id

caniuse query

collections

related ops

Inputs

render (Trigger)

Use Mouse Coordinates (boolean /Number)

x (Number)

y (Number)

enabled (boolean /Number)

cursor index (integer /Number)

cursor (string /Number)

Outputs

trigger (Trigger)

Something Picked (boolean Number)

pick texture (Object)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Mouse Mesh Picking

Open Example In Editor


Changelog


code cleanup - ports
2019-05-28 - andro

Examples using Picker ()

Public Patches using Picker ()