Adding 2 events to 1 button click?

I’m trying to figure out how to add 2 different events to
export function button10_click(event, $w). When I list 2 valid events under function button10_click, only 1 event is carried out… How can I make it so clicking the button once will cause 2 things to happen simultaneously? (very noob at coding, sorry)

You can run whatever code you want in one event handler. So, you can do 2, 3, or even 10 different things. Just code whatever actions you want in the event handler.