react-babylonjs
Star
useClick
Edit on GitHub
Adds a click method on a mesh. Try it out by clicking the sphere in the example.
Output
Code
Javasript
Typescript
Run in Codesandbox