Streaming live at 10am (PST)

Manually call Mouse X/Y actions from webflow code?


#1

Hi,
I have created a “mouse mover over element” interaction that works fine and I am trying to add custom code to trigger the animation based on the devicemotion/orientation of a mobile phone.

How do I identify the code for mouse x/y actions in the interaction so I can call it using jQuery?

Thanks for your help!

John


#2

You can try this, https://stackoverflow.com/a/4517215/584192


#3

Thanks, will give it a shot!