Check if Device has Gyroscope or LiDAR

Hello,
I’m trying to notify users that dont have Gyroscope or Lidar that they cant use the AR experience,
How do i do that in studio.
I saw a google AR experience that did that.

@GeorgeButler Hello, this thread doesn’t show how to detect Gyro.
It only shows how detect permission for camera

It would be the same approach for Gyro, additionally I’d recommend reading about it on MDN here: Gyroscope - Web APIs | MDN