Dirt is a common obstacle in Shovel Knight and Shovel Knight Dig that the protagonist must clear to progress. Dirt appears as a 1x1, 2x1, 2x2, 3x2 or 3x3 block and comes in different materials. Yellow/gold dirt requires only 1 strike to clear, and Shovel Dropping on it will cause Shovel Knight to bounce. Light yellow sandy dirt also requires only 1 strike to clear, but Shovel Dropping will not cause Shovel Knight to bounce; he will drop straight through it. Grey dirt requires 2 strikes to clear.
In the Stranded Ship and Frigid Flight levels, the dirt is replaced with light-blue snow which behaves identically to regular dirt. In the Tower of Fate levels, all dirt is replaced with a light-purple block which also behaves identically to regular dirt.
For Specter Knight, he may fall through sand blocks and land on other blocks, but if he tries to jump off any block, they will take 1 hit.