@Rahul_G, from what I gathered watching this thread from your first post, I’m not convinced you understand how these sensors work.
Both the ultransonic as the LASER ToF sensors will only provide (at times rather “noisy”) distance readings in a single direction but you appear to be looking for a way to monitor an area or even a volume for the presence/absence of objects and that is not what these sensors are meant for.
But you already got a good answer for the above use case
However, there are also two possible “interpretations” of the outlined use case
- you want to know whether something is present/absent in the monitored volume
- you want to know when the monitored volume undergoes a change in content
For the former @armor’s suggestion is (using an RPi or a something like a ESP32 CAM module) probably your best bet.
For the latter, you may get away with a motion sensor.