I am trying to center the camera on an object if it double-clicked. I got it to work using variables but run into an issue when there are multiple instances of one object. This is what I have currently.
I tried using an id variable for each of the object instances but am doing something wrong since it is still not working.
Any help you can give would be appreciated. Thanks!