Action for buttons outside the buttons

What’s up :beer:

I am using a few buttons, and I do not want to place their code on them.

How can I place their code on the timeline? :huh: