# Adding a delay inside an animation and looping

**URL:** https://forum.pinegrow.com/t/adding-a-delay-inside-an-animation-and-looping/4566
**Category:** Questions
**Created:** [October 1, 2020, 7:57am UTC](https://forum.pinegrow.com/t/adding-a-delay-inside-an-animation-and-looping/4566 "2020-10-01T07:57:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![excede](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@excede](https://forum.pinegrow.com/u/excede)
#### Post date: [October 1, 2020, 7:57am UTC](https://forum.pinegrow.com/t/adding-a-delay-inside-an-animation-and-looping/4566/1 "2020-10-01T07:57:36Z")

</div>

I want a delay in the middle of an animation (not the delay before an animation), not sure how to achieve this?

Essentially it’s a button that shakes, then waits for 3 seconds then shakes again. The delay currently delays when it starts and the repeat loops it quickly over and over without a delay in it.

Also is there a way to loop animations ongoing?

---

<div class="post-metadata">

### Author: ![abirana](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/abirana/32/4162_2.png) [@abirana](https://forum.pinegrow.com/u/abirana)
#### Post date: [October 1, 2020, 4:56pm UTC](https://forum.pinegrow.com/t/adding-a-delay-inside-an-animation-and-looping/4566/2 "2020-10-01T16:56:17Z")

</div>

I don’t think there is a repeat delay option. But there is one trick you can easily implement delay anywhere within the animation.

Just add one more transition to your interaction and assign a position and duration as you need. Place it as where animation ends but do not assign any property.

Check the image below it might help.

 ![Screen Shot 2020-10-01 at 10.32.09 PM](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/5/50699ce52f55c2a9d32c3a2f77a492ee1614ae2e.png)
