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

What is Framer? Join the Community
Return to index
Coty Beasley
Posted Dec 21 - Read on Facebook

A question I've had for awhile: this we there a way to access sibling properties while declaring them?

I'd love to be able to set something like y: this.height (so in this example, y = 32)

1 Comments

George Kedenburg III

until its been set to a layer you wont be able to access it, so your options are:

layer = new Layer height: 10
layer.y = layer.height

or

layerHeight = 10
layer = new Layer height: layerHeight, y: layerHeight

Read the entire post on Facebook