The amount of diffraction depends on the wavelength of the wave and on the size of the obstacle.
If the wavelength is much larger than the object, the wave bends around it almost as if it isn't even there. When a wavelength is less than the size of an object, a “shadow” region will result.