How to set mask paint like as ZB?

Hello Guys
I wanna to set mask like as ZB mode (It’s is change mask mode when I press CTRL )
But I can’t set that in Preferences (there only have three choice: Smooth,Invert and Regular)
So how do I do??thks!


M : Face selection for masking
Alt + M : Clear selection

H : Hide area
Shift + H : Unhide area
Alt + H : Unhide all