Plank.HideType.DODGE_ACTIVE – plank Reference Manual
DODGE_ACTIVE
Description:
DODGE_ACTIVE
The dock hides if there is the active window overlapping it.