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

What is Framer? Join the Community
Return to index
Michael McKenna
Posted Sep 12 - Read on Facebook

I'm trying to create a nav that has a label on hover. I created a loop and have a column of buttons and each button has a child layer that is the label. I'm having trouble with scoping. onMouseOver event errors out saying this.children[0] is not a function ... I want to eventually fill the hovers with sketch layers that are labels. Any ideas? This concept seems easy if the event were just a property but trying to target the child trips me up. Thanks ...


Jonas Treub

To apply the opacity to the child you can use either dot notation or create a new local variable. I used both of them to fix your error here:

Read the entire post on Facebook