Hello.
There is a suggestion to add a new method API
private bool isEntityInZone(string zoneID, BaseEntity entity) => IsEntityInZone(zoneID, entity);
private bool IsEntityInZone(string zoneID, BaseEntity entity)
{
Zone zone = GetZoneByID(zoneID);
if (zone == null)
return false;
return zone.entities.Contains(entity);
}â