y -sorting in godot 4.5.1

can anyone please help me bcz i dont know how to y sort ,godot ui is a bit confusing and youtube tutorials are even more confusing

If you share code, please wrap it inside three backticks or replace the code in the next block:

func _ready() -> void:
    print("hello world")

CanvasItem::y_sort_enabled

1 Like