Hello everyone,
This is my first post on the forum. I am a complete beginner with GSAP and Javascript. I have some knowledge in HTML and CSS though.
I have used GSAP and Scrolltrigger plugin to animate some elements on my website https://smiles.fi.
I have a question about how can I prevent or pause the GSAP animations until the user has given the "Cookie Consent"? My company is based in the European Union so I need to use the cookie banner to ask for the consent. Currently on my homepage GSAP animation run behind the cookie banner which obviously isn't an ideal situation. Could someone please help me with this?
I'm sorry if this isn't directly GSAP related question. I suppose this is more of a Javascript general question too. I would appreciate any tips you might have. Thank you very much!