Use sc2.position classes for spatial data
developThe sc2.position module provides several classes for representing spatial data in StarCraft II, including points, sizes, and rectangular areas. These classes are used to define coordinates, dimensions, and regions for unit movement, selection, and area effects.
Available classes:
Pointlike: A base class for point-based objects.Point2: Represents a 2D point (x, y).Point3: Represents a 3D point (x, y, z).Size: Represents a 2D dimension (width, height).Rect: Represents a rectangular area defined by its position and size.