Walk on any block you're holding!
Simply hold any block in your hand and walk — it will automatically place under your feet as you move.