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

What is Framer? Join the Community
Return to index
Eoin Ó Raghallaigh
Posted May 31 - Read on Facebook

Hi all, I have a text layer called selectDeparture and an array called departureAirports. This array contains a number of layers. When any of the layers in the departureAirports array is clicked, I want the name of the clicked layer to be passed to selectDeparture.html

So far I have tried to do this with a for loop (shown below), but what happens is the name of the first layer in the array is passed, no matter which layer is actually clicked. Can anyone tell me how to pass the name of the clicked layer please?

2 Comments

Anton Jarl

use @.name instead. That references the clicked layer.

Eoin Ó Raghallaigh

Thanks Anton!

Read the entire post on Facebook