Skip to content

How to stop Repeat Animation #41

Discussion options

You must be logged in to vote

Just use this to start the animation with repeat=false:

ObjectAnimator modelAnimator = model.getRenderableInstance().animate(false);
modelAnimator.start();

you can use this to stop it:

modelAnimator.cancel();

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ThomasGorisse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #40 on April 20, 2021 08:56.