Yes I only want to rotate the box around the pan. I there perhaps some vector function I can use?