Moving upper part of the mesh instead of the whole mesh.

Thanks thats exactly what I was looking for! Also how would you make the rotation is it just the yaw of the camera?