Skip to content

[WIP] Add functionality to play certain frames in Lottie#329

Draft
Copilot wants to merge 1 commit intomainfrom
copilot/feature-lottie-play-frames
Draft

[WIP] Add functionality to play certain frames in Lottie#329
Copilot wants to merge 1 commit intomainfrom
copilot/feature-lottie-play-frames

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 5, 2026

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original prompt

This section details on the original issue you should resolve

<issue_title>[FEATURE] Lottie play certain frames</issue_title>
<issue_description>Be able to play to a certain frames. The lottie documentation has a goToAndStop

I'd like to create a switch using a lottie animation, but without this sort of functionality its impossible.
https://lottiefiles.com/127464-animated-switch-ae-version
</issue_description>

Comments on the Issue (you are @copilot in this section)

@mattleibow I think all of these actions can be performed using properties:
  • IsAnimationEnabled - true is start and false is stop
  • Progress - TimeSpan of the progress
  • Duration - TimeSpan of the total time

If you want to get a percent progress then you can convert the Duration into TotalSeconds and then use that to get a percentage and convert back into a TimeSpan for the Progress property.</comment_new>


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI added a commit that referenced this pull request Feb 20, 2026
, #341)

Co-authored-by: mattleibow <1096616+mattleibow@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

[FEATURE] Lottie play certain frames

2 participants