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

What is Framer? Join the Community
Return to index
Zachary Gibson
Posted Sep 13 - Read on Facebook

I'm trying to change the height & width of a layer by dragging up; using an event listener to change the size by the layer's y value works except the value is descending. I need a value that ascends so the layer can grow. Any ideas?

3 Comments

Andreas Wahlström

Maybe value*-1 can help you here?

Koen Bok

layer.height = -layer.x

Zachary Gibson

both of these result in in a descending value, only negative. I need the value to grow not shrink.

Read the entire post on Facebook