Skip to main content

MLPlayer.SetAnimationBoolValue(string name, boolean value)

Sets a boolean 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
valuebooleanThe parameter boolean value

Usage

---@type MLPlayer
local mlplayer;

---@type string
local name;

---@type boolean
local value;


mlplayer.SetAnimationBoolValue(name, value)