How to allow rotation

Hi,

This sensors will compare the value with a refrence which your phone sensors provide. Unfortunately Gdevelop doesnt have an inbuilt feature that could directly change the phone view from landscape to portrait. That means you will have to make your own algorithm with events or by using Js. Here is a more simplified solution.

1 Like