Is there a way to easily rotate objects and sprites without having to remake them?

This is for when I manage to make Pixel Sprites of 16x16, 32x32 and above and attach the weapons I’ve already managed to make to them