How to use the line2d for an isometric object

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

Hey!!
So I have been working on my rpg Isometric game for two weeks now
And I seem to run into an annoying problem.
In top-down games using ysort is actually way easier but in isometric it’s pain
Because most of my objects seem to be longer so the player disappears behind the object before it should
Tho i know it is because of the pivot point, so i thought i should add more pivots to one object. But it is just annoying
So i saw a video where i can use the line2d but i have no idea how to use it.
I’m new so yeah if you know anything about that please tell me