This item is not replicated across Roblox’s server/client boundary.
This property can only be read from. Attempting to write to it will cause an error.
The GyroscopeEnabled property indicates if the user’s device has a gyroscope. It returns true if the local device has a gyroscope, otherwise returns false.
If a user’s device has a gyroscope, you can use incorporate it into your game using the
UserInputService/GetDeviceRotation function and
UserInputService only runs client-side, this property will only work when used in a
This example prints
Gyroscope is enabled!
if the GyroscopeEnabled property is true, and
Gyroscope is not enabled!
if the GyroscopeEnabled property is false.