I have a hierarchy like this:
The Game node has YSort enabled which Y sorts the Player and any other nodes in it correctly.
The ChildSprite2D has the same y position as it’s PathFollow2D which always has the same y position as the Player node as I need the Path to follow where the player goes.
When the ChildSprite2D moves along the path and ends up higher than the PlayerSprite2D it does not draw the ChildSprite2D behind the player.
Is it possible to make the ChildSprite2D inherit the YSort of the Game node so it YSorts with the PlayerSprite2D instead of always drawing on top?