how to rotate a sprite without changing its pivot?

My sprite has a pivot on the bottom, I use this pivot for sorting, due to this I cannot change the pivot

However I want to rotate the sprite using another pivot that I would place in the center:

How do I rotate the sprite around the red pivot, without actually changing the “true” blue pivot?

Its fine if the blue pivot has to be recalculated, as long as it stays in the same relative world position

1 Like

You can also add a parent object with a Sorting group. That way sorting axis will use the position of parent object with Sorting group instead of the SpriteRenderer pivot.

1 Like