I am making an animation which will trigger after 2 seconds and won’t trigger again. I am using the ‘After Delay’ to do this but the problem is that it triggers every 2 seconds. How can I stop the animation after triggering once. Is there any way to set the number of counts that an animation should trigger. Also won’t this be a good feature to have
Can you provide a test file to look into?
Test file added
It is normal behaviour since you switch the Bubble components “Current” state back to “Normal” state after a delay. This triggers the intial delay based “change to” animation again.
If you want to just display the state and color change once you’ll need a third variant in the Bubble component (you can call it “Last” for example). This is basically a duplicate of the first state but without any animation. Switch the change to from “Current” to “Last” instead of “Normal”.
See test document:
https://www.figma.com/file/HjMEdjy2wQzQ8o7BID4NVT/Trigger-animation-once-(Copy)?node-id=0%3A1&t=LXNNhYSlVwDD8UWU-1
Prototype:
This is so true. Why didn’t I ever think of that. Thanks a lot for the quick solution.
No problem youre welcome 😁
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.