Skip to main content

MLPlayer.ResetAnimatorTrigger(string name)

Resets the trigger parameter 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

Usage

---@type MLPlayer
local mlplayer;

---@type string
local name;


mlplayer.ResetAnimatorTrigger(name)