MLPlayer.GetAnimationFloatValue(string name)
Gets a float animation value from player's animator, if the parameter exists. This function can get player's Locomotion, Hand and Emote parameters.
Parameters:
Name | Type | Description |
---|---|---|
name | string | Parameter name |
Returns:
type | Description |
---|---|
number | Float Value |
Usage
---@type MLPlayer
local mlplayer;
---@type string
local name;
local val0 = mlplayer.GetAnimationFloatValue(name)