Displaying sprites with dependence on player's position
I've got a scene with player and some objects. For now my player (his sprite) is displayed that he's behind objects. If player is closer than object, he's sprite is still behind (of course). I've noticed that it's regulated by hierarchy of objects in "Scene".
Now how can I change hierarchy of my player through scripting with dependence on his Y-position? For some reason I can't find info about this; neither in Google nor in Godot Documentation.
Thanks in advance.