replace

open fun replace(@NotNull target: @NotNull String, @NotNull animation: @NotNull String, @NotNull modifier: @NotNull AnimationModifier): Boolean

Replaces a running animation on filtered bones.

Return

true if the replacement occurred

Since

1.15.2

Parameters

target

the name of the animation to replace

animation

the name of the new animation

modifier

the modifier for the new animation


open fun replace(@NotNull target: @NotNull String, @NotNull animation: @NotNull BlueprintAnimation, @NotNull modifier: @NotNull AnimationModifier): Boolean

Replaces a running animation on filtered bones with a blueprint animation.

Return

true if the replacement occurred

Since

1.15.2

Parameters

target

the name of the animation to replace

animation

the new blueprint animation

modifier

the modifier for the new animation