How to trigger Pinegrow Interaction several times per Javascript

Hi,

I try to trigger a Pinegrow interaction several times with javascript.

I can trigger an animation with Javascript: pgia.play(document.getElementById(“id”), “animationname”);
That works perfectly.

I want to trigger the same animation several times. The animation does “recreate on play”. It works when I click a link with href=“javascript:pgia.play(document.getElementById(“id”), “animationname”);” multiple times. But not the I try something like:

pgia.play(document.getElementById(“id”), “animationname”);
pgia.play(document.getElementById(“id”), “animationname”);

or

document.getElementById(“IdOfLink”).click();
document.getElementById(“IdOfLink”).click();

Then the animation is just triggered once.

I tried anything on these page: API | Pinegrow Web Editor but nothing works for me. @matjaz @RobM do you have some ideas?

Best regards and thanks a lot!