Also the Scroll To behavior already does this.
I'm using the Scroll To behaviour on the camera sprite, I just need the object to be centred so the camera is centred. I can't centre it manually because I'm adding a camera for each room in the game (the system is how Undertale does it, you walk to the edge of a room, camera goes to the other room) and there are a lot of rooms.
If you don't need the zoom just average the x and y "for each" sprite, and divide each by the number of sprites.
I feel like this would take even longer than doing it manually, having to type out every single x and y value for over 100 tiles in one room.