If I’m understanding correctly, you just want to associate some app-specific object with a Babylon Mesh so that when it is clicked and your callback is executed, you can map that Mesh back to your own associated object, is that right?
If so, you could plop your object into the metadata, or you could just set it as a property directly on the Mesh (possibly using a Symbol if you want to guarantee your property won’t collide with another property), or you could use a WeakMap so store an association between the Mesh and your custom object.