add remove method to zones and points

This commit is contained in:
Linden committed 2022-05-15 22:30:33 +10:00
1 parent c1d420aeaa
commit 1d2faf86d9
2 files changed
+12

No files matched your search

+5
View File
@@ -29,3 +29,8 @@ function point:nearby()
end
end
```
Points can be deleted by using the remove method.
```lua
point:remove()
```
+7
View File
@@ -75,3 +75,10 @@ local box = lib.zones.box({
onExit = onExit
})
```
Zones can be deleted by using the remove method.
```lua
poly:remove()
sphere:remove()
box:remove()
```