Can anyone help me out with this problem?
When you click on the blue plane it inserts an object. Then the idea is you left click on the object then right click where you want it to go (which object you want to snap to).
However as the addObject does not change the name of each object it does not work correctly.
you will see if you add more than one object it only snaps the first instance.
Is there a way i can have it use the object id instead of the name? or possibly change a property for each object.
Note that there will be many plane buttons inserting different objects into the scene.
mouse click rev 5.blend (260 KB)