Is there something like On() method in ZBrush?
For example:
OnButtonPressed
OnProjectStateChange
OnTransform
OnDeform
That is, if the method OnButtonPressed() is defined, then each time you press any button, a certain action would be performed etc.