Device tilt with specific interaction

That's not going to be easy. You have two major hurdles.

The first is that you need special permission to access the accelerometer data… Hype4 phone Tilt to control gravity not working on IOS 12? …I haven't checked on that issue in a while, but apparently access to that kind of data is a possible security risk. So, it's blocked. Maybe that's the "Permissions API" is a possible fix… Permissions API - Web APIs | MDN

Next, you'd need to understand collision detection in the Physics engine. There's an example of this with the "Jump" template… Physics Mini Templates for Tumult Hype 4 - #23 by Photics …fairly complicated, as it requires an understanding of JavaScript and the Physics engine (Matter.js) in Hype.

1 Like