Detecting a tilt


(Paul) #1

Hi,
is there a way of detect a tilt and triggering a behaviour or a JavaScript function? At the moment, I’m using some custom JavaScript, but I was hoping that there would be a way to do this inside Hype.

I tried posting this question this morning, but it hasn’t appeared on the forum. Not sure what happened to it.


(𝕄𝕚𝕔𝕙𝕒𝕖𝕝 𝔾𝕒𝕣𝕠𝕗𝕒𝕝𝕠) #2

JavaScript can be used to get accelerometer data from devices that supply that information.