Skip to main content

Animator.IsInTransition(number layerIndex)

Returns true if there is a transition on the given layer, false otherwise.

Parameters:

NameTypeDescription
layerIndexnumberThe layer index.

Returns:

typeDescription
booleanTrue if there is a transition on the given layer, false otherwise.

Usage

---@type Animator
local animator;

---@type number
local layerIndex;


local val0 = animator.IsInTransition(layerIndex)