It’s a toggle action, as you’ve noticed.
I believe that would be possible by writing a special plug-in using Python and interacting with the krita Python API.
You could learn how to do that, many people do ![]()
This topic is very relevant:
Hello @Michelist ![]()