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

TypeNameDescription
boolresulttrue if the condition is met, false otherwise

Examples

Check monitoring on an area
local entity = physics.area.create()

core.engine.print("info", "Area monitoring:", entity:is_monitoring())

On this page