StringToHash
7/14/25Less than 1 minute
Animator.StringToHash(string name)
Generates an parameter id from a string.
Parameters:
| Name | Type | Description |
|---|---|---|
| name | string | The string to convert to Id. |
Returns:
| type | Description |
|---|---|
| number | parameter id from the string. |
Usage
---@type string
local name;
local val0 = Animator:StringToHash(name)Extra Detail
Ids are used for optimized setters and getters on parameters.

