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

What is Framer? Join the Community
Return to index
Piotr Kuklo
Posted Apr 06 - Read on Facebook

Hey people,

Is there anyway to recreate mouseOver event on a mobile device? Looking for something like 'fingerOver' ;)

I would like to have a similar experience after swiping a finger over shapes like in this video:


Niels van Hoorn

Well, there isn't really a mouse pointer on touch devices, so 'hovering' doesn't exist, but what you're looking for is directly listening to TouchDown, TouchMove and TouchEnd events. To do this you probably want to add an invisible overlay over the elements where you want to track touches

Niels van Hoorn

Here's how I would approach it:

Piotr Kuklo

Thanks a lot Niels, that looks great I will work on that ;)

Read the entire post on Facebook