You are supposed to use different layers ( ground,walls, collectibles,...)
got it! xD im dumb ahahah thank you very much
you may also use layers for rendering order like when you player is in front or behind something on the same tile