self:is_monitoring
Client
Checks whether the area is monitoring for other bodies/areas entering or leaving it
Syntax
local result = self:is_monitoring()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if the condition is met, false otherwise |
Examples
local entity = physics.area.create()
core.engine.print("info", "Area monitoring:", entity:is_monitoring())