Propblem with YSort

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

I’m using ysort in my game and in it there are props and player node. But players ui which is a child of player node is also being sorted and occasionally some props gets in front of ui.how can I fix that

:bust_in_silhouette: Reply From: juppi

Use a CanvasLayer Node for the UI and change the Layer Property .
Lower values are drawn first.