Skip to main content

MLPlayer.SetAnimationFloatValue(string name, number value)

Sets an float parameter's value in player's animator, if the parameter exists. This function can set player's Locomotion, Hand and Emote parameters. Note: Only for local player

Parameters:

NameTypeDescription
namestringThe parameter name
valuenumberThe parameter float value

Usage

---@type MLPlayer
local mlplayer;

---@type string
local name;

---@type number
local value;


mlplayer.SetAnimationFloatValue(name, value)