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

What is Framer? Join the Community
Return to index
Vaibhav Kanwal
Posted Feb 20 - Read on Facebook

How do I convert value of variable - getLayer to be treated as an object?

I want to change states on the objects which are obtained as per position of touch coordinates.

Any ideas?

2 Comments

Nikolas Moya

Vaibhav Kanwal not sure if I understood your question, but take a look in this code: https://github.com/nmoya/swipe-turn-framerjs/blob/master/app.coffee
Lines: 57 - 64 and 108, 112, and 115. Let me know if it was not what you meant.

Vaibhav Kanwal

Hi Nikolas
I was able to do this using eval() and it works fine. Thanks for your help mate!

Read the entire post on Facebook