Zappar React Three Fiber Click Event

Hi,
I’m trying to detect a click event on my 3D model loaded in AR using the Zappar React Three Fiber template.
Can anyone guide me on how to go about achieving this?

Hi @blesson.roy,

I believe that I have answered your support ticket, but just in case this helps anyone:

We’ve found that the onClick event should work if you update your Universal AR SDK for React Three.js dependency to version 2.1.1.

As a few of our more practical examples require a more thorough dependency update and investigation, I’d recommend using our Bootstrap examples for now and updating the dependency from there if you would like to use our examples as base.

Happy creating!

Francesca :blush:

Yes you did Francesca!!. :smiley:
Thank you again for your help!

Much Appreciated!

Regards,
Blesson

1 Like