How can I create a back button in a native app?

I’m wondering is there a way to create a single workflow for an element that is used in multiple groups? Such as a back button?

I could use an icon and set the workflow to when “X” icon is clicked, hide then show. However, that seems inconvenient because if I have multiple groups I’ll have to do this for each group.

I tried finding a solution, but they were are lengthy and confusing.

Thanks in advance!