I’ll try it out, thanks
Edit: So at first I tried changing the actual variable but then I realized that was not gonna work since at the beginning of the scene the value is changed to something else. Then this worked just perfectly : ) Thanks to both you for helping out.
If you create an extension for this please consider the following requirement: There should be a MaximumZoom that is configurable, and when set prevents the tracked objects from moving in a direction that would cause the MaximumZoom to be exceeded.
This is a very common consideration for games that use this type of zooming.
Uh I just realized you opened a trello… I’ll post this there
How does your code work when there are multiple instances of an object? I expect it will set the variables based on the last instance created.
l was thinking about changing this to use a single object parameter (which can also be an object group) and do a ForEach() to find the min/max X/Y for all instances. Do you think that is a good design?