MLPlayer.SetAnimatorTrigger(string name)
Trigger a parameter in player's animation, if the parameter exists. This function can set player's Locomotion, Hand and Emote parameters. Note: Only for local player
Parameters:
Name | Type | Description |
---|---|---|
name | string | The parameter name |
Usage
---@type MLPlayer
local mlplayer;
---@type string
local name;
mlplayer.SetAnimatorTrigger(name)