Dear community,
I can't get any further and need your help.
So that the YSort works properly and looks good, I decided to move the tiles in the tilemap.
I could move the character instead of the tilemap or wait for the next build, but I finally want to learn programming and make my dreams come true instead of giving in.
(nothing is shifted in this picture, it is for comparison)
in this picture you can see that tex offset does work, but not shape offset (tex offset y -32, shape offset y -32)
I asked in the discord channel how I can move the whole tileset and got the following information:
#The first tile is moved
A look at my tileset showed me that when a programmer says "the first", he means the second because an array probably starts with number zero. Ok, that is no problem.

#Documentation
I was told in the Discord Cahnnel:
"Changes to a tileset are pushed to existing tiles in your tilemap. If you want to programmatically edit a tileset, you can use methods found here:"
https://docs.godotengine.org/en/3.1/classes/class_tileset.html
Although the documentation is in front of me, I can't get it together.
#Next they wrote to me
" If you want all tiles in a tilemap by position, you can use
tilemap.get_used_cells() to return an array of cell positions. If you want to get all used tile ids to make changes to the tile properties, you can use tilemap.get_tiles_ids() "
So I decided to program it like this
I was also able to achieve something, but unfortunately I didn't get far enough to move the tiles with shape offset.
Strangely, the name of the tileset is not displayed, although I call it up with "print", which again indicates that I cannot achieve the things I want to address in GDScript.
There's something I don't understand. Can you help me please? I would really like to be able to program.
I look forward to your answers
Artur