Skip to main content

Animator.SetTarget(AvatarTarget targetIndex, number targetNormalizedTime)

Sets an AvatarTarget and a targetNormalizedTime for the current state.

Parameters:

NameTypeDescription
targetIndexAvatarTargetThe avatar body part that is queried.
targetNormalizedTimenumberThe current state Time that is queried.

Usage

---@type Animator
local animator;

---@type AvatarTarget
local targetIndex;

---@type number
local targetNormalizedTime;


animator.SetTarget(targetIndex, targetNormalizedTime)