Blynk button control with ultrasonic sensor

Hi guys now i m doing my project by using (Arduino Uno) blynk button to control the robot car. Now i wish to add ultrasonic sensor to detect the distance, when distance is detected the motor will stop EVEN WHEN THE BUTTON is pressing. Help urgent