Skip to main content

AnimatorStateInfo.IsTag(string tag)

Does tag match the tag of the active state in the statemachine.

Parameters:

NameTypeDescription
tagstringtag

Returns:

typeDescription
booleanTrue if tag match the tag of the active state in the statemachine.

Usage

---@type AnimatorStateInfo
local animatorstateinfo;

---@type string
local tag;


local val0 = animatorstateinfo.IsTag(tag)