How to check if mesh is clickable

Hello again and again

I have my my blender object (lot of sub meshes inside) and I need to check wether the mesh is clicked if yes do somthing else do else.
so I importte my object from Append() function by getMeshByID() and now I need to make a var state=getIfMeshIsClicked() and the make if(state){}

so there is something like getIfMeshIsClicked() in BJS API ?

Thank you a lot


A little bit of googling and you will find lots of help on this!

You could also rely on actions which let you bind a trigger and an action: