Key events to trigger Material changes?

Thank you so much, once more! :smiley: One thing, how can I have it be a toggle (emission on/off) instead?