PhysicLinelayerMaskOn this pagePhysicLine.layerMask NameTypelayerMasknumber Description A Layer mask that is used to selectively ignore colliders when casting a ray. Default Physic.DefaultRaycastLayers.