How to use a ping sensor to control a servo?

Okay, thanks for the help. :smiley: