Question about game development for mobile

Hi
Is it possible to keep the position of an object fixed while the position of the mobile is changed, or is it possible to turn a fixed surface into a sloping surface by tilting the mobile?
Suppose we have a flat surface and a ball is on it. Now, while we tilt the mobile phone, will the flat surface become a sloping surface and will the ball slide down?

thanks,

Yes, The documentation on that is in the GDevelop wiki, under Device Sensors, and there’s a working example with a ball rolling game.

Is there any way to test the game on PC?

Use "Start NetWork Preview", and use your phone browser load the game over WiFi:

image