Rotate a mesh at a certain point

Could you perhaps write a few lines of code? I’ve already tried what I think your trying to say, and no dice. :confused: