Called when an item is clicked on.
button |
the button clicked |
mod |
the modifiers |
event_time |
the timestamp of the event triggering this action |
which type of animation to trigger |