Skip to content

API > PhysicRay > layerMask


PhysicRay.layerMask⚓︎

Name Type
layerMask number

Description⚓︎

A Layer mask that is used to selectively ignore colliders when casting a ray. Default Physics.DefaultRaycastLayers.