Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play and pause multiple timelines at the same time #84

Open
BitBarrel opened this issue Dec 18, 2023 · 0 comments
Open

Play and pause multiple timelines at the same time #84

BitBarrel opened this issue Dec 18, 2023 · 0 comments

Comments

@BitBarrel
Copy link

BitBarrel commented Dec 18, 2023

I have two timelines (not state machines) on the same artboard.

I want to set one timeline instantly to the 30% position, don’t move it, keep it there.

Then I want to set another timeline instantly to the 20% position (while keeping the other timeline at the 30% position), don’t move it, keep it there too.

This is possible with the "advance" feature of the API. See the paragraph "Advancing Animations" here:

https://help.rive.app/runtimes/overview/web-js/low-level-api-usage#advancing-animations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant