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

A post was merged into an existing topic: How to deliver variable value to different flow when ui-button is pressed