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

What is Framer? Join the Community
Return to index
John Anthony Evans
Posted Aug 19 - Read on Facebook

Anyone know if it's possible to get a callback when a property of a layer is changed?

Something like aLayer.on Events.x

A basic example would be super helpful

5 Comments

John Anthony Evans

Ah figured it out. aLayer.on "change:x" for anyone else who needs it.

Mike Feldstein

Woah... Time to simplify the crap out of my code, thanks for finding that.

Jordan Robert Dobson

It's actually in the docs... it's just not clear how to apply it from reading it initially.

John Anthony Evans

I had to look through the source to realise it needed to be a string.

Alex Hazel

Damn that is clutch. Thanks!

Read the entire post on Facebook