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

What is Framer? Join the Community
Return to index
Utsav Shah
Posted Dec 16 - Read on Facebook

Hi everyone. How can I create a row of layers based on the number of times button was clicked? I think I am struggling to adjust the "y" position because I don't know what to loop for. Here's what I have so far. I would like to create copies of the "container row" with the candies layers as well.


Joseph Reni

you need to manually track the index. on the outside of the onTap event write i = 0
then for y use
y: (200 + padding) * i
after creating the ledcontainer type i++

Roma Klyukin

You can create a counter, increase it on tap and call any item from array by counter's index

Read the entire post on Facebook