Help with sprite positioning

Latest version of the godot web editor

Help with sprite positioning

So I have a sprite as a child of a 2d node, the sprite is higher then the node. When I rotate the node the sprite moves with it but it still reads the same position. So if it’s position was X and I rotated it to Y well the sprite still says it at X. Please help.

The position property is the local position of the sprite, or in other words, it’s the sprite’s position relative to it’s parent. It sounds like you wanted to access the sprite’s global position.

sprite.global_position

Thanks, have a blessed day.