PhysicBoxlayerMaskOn this pagePhysicBox.layerMask NameTypelayerMasknumber Description A Layer mask that is used to selectively ignore colliders when casting a capsule. Physics.DefaultRaycastLayers by default.