Use a global variable as a toggle and check whether it is activated or not. You can toggle it with events, key press or whatever whenever you want the stuff to ignore mouse.
+'IgnoreMouse' = 0
+Mouse button is pressed
>blah blah
But I have no means to de-activate the mouse-button-control.
Perhaps I don't see what you mean.
When mouse button is pressed, an animation starts.
At a certain point I want to ignore key presses (or: not start animations).
Both options (ignore mouse-buttons, don't start any animation) are not present in the event's action list.