GetSurfaceCenter


Returns the position of a surface's center. Syntax:

center_pos=GetSurfaceCenter(surface);