You need to give all the sprites you might want to be centered the "scroll to" behavior set to disabled at start.
Then you would test objects to see if they are in center using compare X and compare Y conditions in an event.
Whichever object is closest to center would have the action "enable scroll to" activated.