self:has_overlapping_areas

Client

Checks whether any other areas currently overlap the area


Syntax

local result = self:has_overlapping_areas()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if the condition is met, false otherwise

Examples

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

core.engine.print("info", entity:has_overlapping_areas())

On this page