My character goes under the tilemap when going on the top half of the game

v 4.2.2

You can set the Z Index of the tilemap (under CanvasItem → Ordering in the inspector) to a value lower than what the player is. I use negative values for ground layers in my game.