Hello guys, So I loaded a model using import mesh async in my scene. I want to add a listener on it so that when I click on it, a function should work. Wherever I click on the model, it should run. How should I do it.?
I would recommend reading through this post, where ways for general and certain mesh picking are shown:
Depending on your needs you might also want to read Mesh Picking Docs, where you can utilize predicate:
3 Likes