Dynamic Animation Trigger attach

I have a complex animation on the webpage start for the age verification with two Yes/No buttons.

If Yes button is clicked then animation happens and it shows the home page. Now I need to set cookie when Yes button is clicked (already handled this via custom javascript) and *Don’t show the age verification step again if the cookie is set.

The animation attached on Yes button click has start conditions which makes the age verification visible and stops the home page animation.

So can we attach the animation trigger only when the cookie is empty?

I consulted on webflow ix but I see it uses ix2 and no good luck.
Hope anyone can help!