change

function

change(_animation[, _loop])

Description

Starts playing an animation from its start, only if it is a different one that the last played animation.

Arguments

Name Type Description
_animation Struct.BBMOD_Animation The animation to change to,
_loop Bool If true then the animation will be looped. Defaults to false.

Returns

Struct.BBMOD_AnimationPlayer Returns self.

See also

BBMOD_AnimationPlayer.Animation

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.