i want to calculate the lowest and highest x and y position of a bunch of sprites, the objects from where i want the calculation would be selected by mouse, so the amount of sprites is depending on the selection
how would i write this?
do i need an array to do this? if so how would i implement this?
my endgoal is to find out the center of the selected sprites
so i think if i know the above i could calculate the distances and divide by 2 to get the middle point.