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)
sure you could just print this.children.image (assuming theres only 1 child of the layer)
George Kedenburg IIIThat worked (also with more than 1 child of the layer). Thanks!
You could also create the avatar layer as person.avatar instead, and then in the onclick function use @avatar