Though it may not be the most effective way to make this happen, this is what I would do:
In the button, create a trigger variable and set it to 0. Then have the trigger variable set to 1 when the block collides with the button. In the object triggered, make it so the object does whatever it should do when the variable is set to 1.
Hopefully that makes some sense; I'm not the best with GM.