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.
In your screenshot, you’re doing 2 conflicting things
Center camera on MediumBed
Do +60 to X position of Camera
You cannot center the camera on the Medium bed at the same as an event to take the current Camera Position and add +60 X, as the system will likely try to fight over which event takes precedence.
You can, however, merge the two. Try:
Do = (MediumBed.PointX(“center”) + 60) to X position of camera
Do = (MediumBed.PointY(“center”)) to Y position of camera