Use HC-SR04 Ultrasonic Sensor to move a motor

I am aware.

At the moment the target is a piece of paper I move myself. I do not want to mount it to anything until it works.