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

What is Framer? Join the Community
Return to index
Baisampayan Saha
Posted Aug 30 - Read on Facebook

I have created a module that creates a grid of layers using for loop.
now when i use the module in my framer though the layers are getting created....i am not being able to change the individual layers properties. I am not getting where I am mistaking!


David Kerns

If I'm understanding correctly, I do not think it is possible to visually edit programmatically generated layers.

Baisampayan Saha

I don't want to edit visually..i want to edit it programmatically!

Eelco Lempsink

In the module, make ‘grid’ a property by adding a ‘@’: ‘@grid’. Then in the code, you can refer to it. Note though, that you’re naming the instance of the class also ‘grid’, so your code would need to change to ‘grid.grid[0].opacity = 0’.

For a bit more on Classes, also see our recently updated programming guide: let us know if anything is unclear!

Baisampayan Saha

Eelco Lempsink that worked. Thanks. But I am not being able to change the properties of other layers except grid[0]

Baisampayan Saha

Koen Bok Jorn van Dijk Eelco Lempsink Please help!

Baisampayan Saha


Read the entire post on Facebook