TileMap not vsiisble when scene is run

Godot Version

4.3

Question

When I run the scene, the character is visible and so is the direction changing. However, the tilemap is not visible at all. I can only see a grey background behind the player.

It was a problem with the Z-index. Leaving this here in case, someone else had such a problem

Mark this response as the solution so people can see that the question has been answered (also helps for people looking for a solution later).