I don't know if I need to use a tile or a sprite I tried a tile it doesn't work and I don't think it's a sprite.
Use tilemap
Develop games in your browser. Powerful, performant & highly capable.
Add solid behavior in your tile/ Sprite.