script

@Nullable
open fun script(@NotNull modifier: @NotNull AnimationModifier): @Nullable BlueprintScript

Retrieves the script for this animation, considering the provided modifier.

If the modifier overrides the animation or specifies a player, the script may be suppressed.

Return

the script, or null if suppressed

Since

1.15.2

Parameters

modifier

the animation modifier