This version of Unity is unsupported.
Method group is Obsolete

CapsulecastCommand.layerMask

Obsolete Layer Mask is now a part of QueryParameters struct. public int layerMask;

Description

A LayerMask that selectively ignores Colliders when casting a capsule.