Plank.HideType.WINDOW_DODGE – plank Reference Manual
WINDOW_DODGE
Description:
WINDOW_DODGE
The dock hides if there is any window overlapping it.