This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Jakub Jaszkin
Posted Jun 05 - Read on Facebook

Dear Frameristas!
I have a problem with a loop and targeting objects inside. According to some answers in this awesome group I've made an array to store elements, but I still have an error, when I make an event listener inside the loop...

Problematic part of the project is here:
https://framer.cloud/DpOll/

I want to achieve certain animation of "thing" when "button" is clicked.

I will be grateful for any kind of help! :D

2 Comments

Artyom Avanesov

If you replace things[i] by @superLayer in the click event, it should do the job

Steve Ruiz

here's some explanation - https://framer.cloud/CFPrs

Read the entire post on Facebook