You know when you hit a block in a Mario game and a powerup comes out and that block's sprites changes? That's basically what I'm trying to achieve. I need a way to detect the player's collision with the block and to change the sprite.
If anyone has a link to some documentation, a tutorial or can explain a good way to do it, it would be really helpful as I'm pretty new to making games and to godot and I'm feeling a bit lost lol