AnimatorlayerCountOn this pageAnimator.layerCount NameTypelayerCountnumber Description Returns the number of layers in the controller.