IsInTransition
7/14/25Less than 1 minute
Animator.IsInTransition(number layerIndex)
Returns true if there is a transition on the given layer, false otherwise.
Parameters:
| Name | Type | Description |
|---|---|---|
| layerIndex | number | The layer index. |
Returns:
| type | Description |
|---|---|
| boolean | True 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)
