Setting currentTime not working #3551
-
I loaded a model with an animation into the model-viewer, but am unable to set the current-time property. Any ideas or help? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Duration zero sounds strange; can you post a Glitch or URL where we can repro? One thing to keep in mind is MV is a Lit web component, so it is very asynchronous. That particularly includes setting attributes - you may just need an |
Beta Was this translation helpful? Give feedback.
Duration zero sounds strange; can you post a Glitch or URL where we can repro? One thing to keep in mind is MV is a Lit web component, so it is very asynchronous. That particularly includes setting attributes - you may just need an
await mv.updateComplete;
.