Skip to content

Compare Layer

Game Objects » Compare Layer

Description

Returns true if the game object belongs to any of the layer mask values

Parameters

Name Description
Game Object The game object instance used in the condition
Layer Mask A bitmask of Layer values

Keywords

Mask Physics Belong Has