How to know If device Orientation changes

How can we detect if device orientation changes from landscape to portrait and vice versa.
What’s the function inside the Gdevelop which call on Orientation change if not then how can we detect this change.

1 Like

Were you able to find the answer?