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

What is Framer? Join the Community
Return to index
Kasper Andersen
Posted Dec 22 - Read on Facebook

Hey people

I have this little thing (see screenshot)

So I can click a layer and then it prints the name of the layer.

Is there a way to print the name of the layer(avatar) inside that specific layer?

(more specific the name of the image in avatars)

3 Comments

George Kedenburg III

sure you could just print this.children[0].image (assuming theres only 1 child of the layer)

Kasper Andersen

George Kedenburg IIIThat worked (also with more than 1 child of the layer). Thanks!

Sigurd Tapio Mannsåker

You could also create the avatar layer as person.avatar instead, and then in the onclick function use @avatar

Read the entire post on Facebook