I want to apply a rotation to an area2D but not to it's attached sprite

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By wolvertox

I have a projectile that when spawned has the position and rotation of the spawner applied to it, but I don’t want the sprite itself to rotate with it.

:bust_in_silhouette: Reply From: SteveSmith

Rotate the sprite by the reverse of whatever the rotation of the area is, e.g.

$Area2D/Sprite.rotation_degrees = -$Area.rotation_degrees