ZoneController
Functions¶
getZones¶
local zonesArray = ZoneController.getZones()
getTouchingZones¶
local touchingZonesArray, touchingPartsDictionary = ZoneController.getTouchingZones(player)
setGroup¶
local settingsGroup = ZoneController.setGroup(settingsGroupName, properties)
properties
is a dictionary defining the groups settings. The default properties are:
{
onlyEnterOnceExitedAll = true, -- When set to `true`, it prevents items (players, parts, etc) from entering multiple zones at once within that group.
}
getGroup¶
local settingsGroup = ZoneController.getGroup(settingsGroupName)