How can I create a Button?

HI everyone,
I’m creating an interactive 3D scene with VL.Stride. Is anyone knowing how to create a button to switch from the principle patch and the secondary patch?
Thank you!

Hi again @norag, its going to need a bit more than this hint but for now, take a look in the help browser for an example call ‘MouseRay’.

@Devs, maybe mouse ray could include some mouse output buttons or IMouseDevice as an output to make it more user-friendly?

If you just need a button, VL.Elementa could be an idea unless you want to click on the geometry, in which case @Hadasi’s way is probably the way.

Since 2021.4.7 the Mouse node returns the Ray next to all mouse buttons.


This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.