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

What is Framer? Join the Community
Return to index
Kev Craven
Posted Aug 14 - Read on Facebook

I have this button, which is essentially a 'like' button. When pressed, the stroke draws itself around the path. I want it to reverse the animation when clicked again as if you'd 'un-liked' something. Any help appreciated!


Arron J Hunt
Arron J Hunt

Basically I'm using a variable `liked` to set whether the button is liked or not, and then do the appropriate animation

Chris Camargo

Doesn't seem to do anything for me...

Arron J Hunt

Chris doesn't work in the browser, try downloading locally

Kev Craven

Thank you Arron! That's a massive help - I do struggle with code!

Read the entire post on Facebook