I don’t know how to use the Ysort extension. I added it to my player object so that the player could walk behind and in front of trees but it does not work. I don’t have any code regarding the extension. All i did was add the behavior.
The player should be behind the trees when y is lower, and in front when y is higher, as the extension says.
Should not do that -