self:is_monitorable

Client

Checks whether the area can be detected by other monitoring areas


Syntax

local result = self:is_monitorable()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if the condition is met, false otherwise

Examples

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

core.engine.print("info", "Area monitorable:", entity:is_monitorable())

On this page