Distance code for X band Sensor

Does anyone know the best way I could write a sketch code for restricting the distance for an X-Band motion dector? I figured out that I would need to measure the pulse width inorder to write the code. After I figured out the pulse’s width, what do I do with the result that I have discover? What main concern or key words should I be aware of when writing this code? I attched some information about my motion dectector incase someone would like more infomation. I would like for my detector to only turn on when it detects motion 1 foot (30.480000000029015 cm or 12 inches ) from my project. My detector could dectect up to 30 ft. Any tips or guidence would greatly appreciated. Thanks!

32213-X-BandMotionDetector-v1.1.pdf (464 KB)

Pulse width code.txt (385 Bytes)

It's a continuous Doppler unit; you can't measure range.

FWIW, 1 foot is a little over 1 light-nanosecond. You'd be better off using sonar.

And stop with the polls. Right next to the stupid new poll button is the new thread/topic button. Use that one instead, so you don’t look like a doofus with the useless polls.

Thanks for your reply. You didn't anwser my topic but I will make a note of the polls.