Has Hype a type of element follow as viewpoint?

(Andrew) #1

I have a ball falling, but it goes off the screen unless a user scrolls with their hand on tablet/phone. Has Hype a method of auto scrolling and following an element ?

fallingball.hype.zip (17.5 KB)

(Hans-Gerd Claßen) #2

just playing with this. couldn’t test on mobile though …
https://dl.dropboxusercontent.com/spa/3ftsuc9opmid3j4/Exports/fallingball/fallingball.htmlfallingball.hype.zip (22.6 KB)

(Andrew) #3

That is the type of action yeah, but thought Hype might have some type of action for it, so any animation type would be cantered in the window, rather than using custom javascript.

But what it needs is just some padding so it’s centred within the screens height, as the device should be tilted to move it down as fast as possible. I was not sure if there was some type of viewpoint trick within Hype that managed this :frowning: