How do you activate UMG button on pressed?

If I understand correctly the button you want to enable is a button from the palette. If so then the button should be enabled by default.

In the UI blueprint, if you select the button, there should be green buttons for onClicked, onPressed, etc…

If you hit onClicked it should take you to the event graph where you want to connect either a set visibility with visibility to hidden or whatever logic you need and remove from parent based on your needs.