How can i mention my "ui-button" code in the function node when it is pressed?

Looks like Jack has opened a second thread with the same question

@JackJackTan414 Please done post the same question more than once, it wastes people's time.