GetBool
7/14/25Less than 1 minute
Animator.GetBool(string name)
Returns the value of the given boolean parameter.
Parameters:
| Name | Type | Description |
|---|---|---|
| name | string | The parameter name. |
Returns:
| type | Description |
|---|---|
| boolean | The value of the parameter. |
Usage
---@type Animator
local animator;
---@type string
local name;
local val0 = animator.GetBool(name)Extra Detail
Return the current state of a bool parameter within the Animator Controller. Use the parameterās name or ID to search for the appropriate one.

