Tiled and generated atlas

Hi everyone, I’m very new to making games so this may sound weird :smiley:

I have a bunch of images that I join as an sprite with an atlas (json array)

I also use Tiled to create some levels, lets say I have two layers one with the ground and one with a player.

The think is, that I import the sprite to Tiled, create all and export the level as json.

In the game code I retrieve the layer of the player and create a sprite with the ID of the object in that position. In theory the ID in the atlas should match the ID in tiled… but they do not. So I see something different than what I designed in tiled.

It isn’t really a big problem but I wanted to see if i’m doing something weird or wrong. I dont see how to use the atlas in tiled…

Other freeware recommendations are also welcome