ESP32 based project

Hello beautiful people! there is no variable available for distance sensor on Arduino IOT Cloud as it (variable) is available for the temperature sensor. How we can add it there .I am doing a project based on ESP32 and a distance sensor is to be interfaced with it so how I can get it on IOT Cloud? Any help regarding this will be highly appreciated....

what about just adding a float variable that gets updated when the distance changes?

ok that's great idea but I am beginner... how can we add the float or Boolean variable .

by reading the documentation, that's where all beginners should go rather than wait for someone to post a youTube video or ready made code for them to use blindly...

there is even one tutorial for ESP32

Thank you sir..