Yup when you move it replaces the current pixel the player is at with the air colour, and then draws the player in the new position and checks if it just replaced an ore. There's a few gotchas in how the setup works but overall godot still has great tools for it.