How to make the camera lock and follow from behind the rolling ball

What is the vector length attached to?
Just wanted to make sure couldnt tell from the photo.
I really appreciate it