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

What is Framer? Join the Community
Return to index
Rohan K
Posted Aug 09 - Read on Facebook

I am wondering if there is a way to create states from layers in sketch? Ive created subLayers as on and off states for some elements (freeText, videoTab, textTab) and I was planning to toggle the visibility of the child layers when clicking on the parent element to simulate on and off states. Is this the best way to do this?


Andreas Wahlström

That sounds like a good approach. I wrote a module for making stuff like this easier. It might help:

Rohan K

Oh hi Andreas. This is so funny, I was just using your other module for text layers and I was wondering to contact you to ask if you ever thought of building focusOn and focusOff events for the text layer? And here you are..hahaha!

Thanks for the link to the module, I am gonna try it out!

Andreas Wahlström

You mean for input events? Have you tried I think that's better suited for creating forms :)

Read the entire post on Facebook