Use the slider to change the distance value in the code below.
This page demonstrates how bots calculate positions, showing the map size, playable area, and toggleable grids for pathing and placement.
self.safe_build_position = self.start_location.towards(self.main_base_ramp.top_center, -8)
self.start_location
self.main_base_ramp.top_center
self.safe_build_position
pathing_grid
shows areas ground units
cannot
enter.placement_grid
used for building
construction.