Skip to content

API > PhysicCapsule > layerMask


PhysicCapsule.layerMask⚓︎

Name Type
layerMask number

Description⚓︎

A Layer mask that is used to selectively ignore colliders when casting a capsule. Physics.DefaultRaycastLayers by default.