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

What is Framer? Join the Community
Return to index
David H. Shen
Posted Jan 13 - Read on Facebook

Try to figure out how to make a simple tab interaction from a imported sketch file with 2 layers overlay. Please advise how could I do this? This is my code

sketch = Framer.Importer.load("imported/[email protected]")
btn_A = new Layer(width: 100, height: 50, x: 250, y: 150)
btn_A.on Events.Click ->
sketch.LayerA.visible = true
sketch.LayerB.visible = false


David H. Shen

I just figure this out. I forgot the comma after the Events.Click :p

Read the entire post on Facebook