get
Gets a zone by its tag, or returns a default if none are found
Return
A non-null zone with given tag
Parameters
The tag to search by
The default value if no zone is found
Gets the zone that the given position is inside. If multiple zones overlap, the first one found will be returned. If the position is not inside a zone, the default will be returned.
Return
The zone the position is inside, or null
if it is not inside a zone
Parameters
The position on the field
The default zone if no zone is found
Gets the zone that the given position is inside. If multiple zones overlap, the first one found will be returned. If the position is not inside a zone, the default value will be returned.
Return
The zone the position is inside, or null
if it is not inside a zone
Parameters
The position on the field
The default zone if no zone is found