So, I was messing around with the mousestate object:
And couldn’t get the button to trigger. That’s because it requires a bang:
Add a bang message and it works:
However, it keeps on working in Edit mode and refuses to stop. Checked the docs; the nopoll message reverts mousestate to its initial state.
Added a nopoll message but no luck. The only way I could get mousestate to stop working was to delete the mousestate object and re-add it. Perhaps, nopoll is paired to a poll message? When bang is replaced with poll, it works as expected.
Next time, I’ll look for message pairs first.