Yep the detecting safe zone problems have been solved before through modules in community resources such as ZonePlus if you are looking for a region3 like method. The API also is explained really neat so I guess try checking it out.
1 Like