Widget always on top of mesh

Hi,

I have a cube that has a widget attached to it. I want it to always be on top of the cube even if the cube is rotated. What is the code for that?

Thanks in advance!