Directional ability indicator

I’ve tried, same thing as picture above…

I’ve tried several different codes, which work for other parts which need to rotate, but not with this image.

The image is a child of a canvas. The canvas is the child of the unit.

I tried to put the canvas in an empty game object, but the result is also strange. The image appears very far from the unit.