Skip to content

Api > Animator > GetLayerName()


Animator.GetLayerName(number layerIndex)⚓︎

Returns the layer name.

Parameters:⚓︎

Name Type Description
layerIndex number The layer index.

Returns:⚓︎

type Description
string The layer name.

Usage⚓︎

---@type Animator
local animator;

---@type number
local layerIndex;


local val0 = animator.GetLayerName(layerIndex)