I have the following setup and am trying to work out a way to have each Viewport display a different z_index for each sprite. Is there an easy way to do this?
I have tried using YSort but it applies the sorting to both Viewports.
To clarify what I am trying to do is to get the left Viewport to display the blue Sprite drawn on top of the red Sprite and the right Viewport to display the red Sprite on top of the blue Sprite.
The use case for this is where each player would see their own character sprite in the foreground in a split-screen side-scrolling game where the players are collision exceptions with each other.