There is a bug in the latest version of Photoshop. I am unable to switch brushes to hide or reveal in masks. The switch arrow does not work and when I press cnrtl x it thinks I want to liquify!
@Yacov28864256x7c3 it's working fine for me with Photoshop version 25.11 on Windows 11, x is the key to switch the foreground and background, have you tried resetting the tools