Global Buttons

I have a global button to play and stop sound and another one to show and hide narration txt. Is there a way that I can declare a global variable for these two buttons so that the buttons can be inherited on each page but have scripts that will recognize the narration and txt that needs to be shown on the individual page. Right now, the only way that I can have the button recognize the target that it should function for is to have the button physically on each page and that seems to defeat the purpose of a common button that should have a common function. That's why I'm wondering if it could work off of a variable instead of a target? I have a global button to play and stop sound and another one to show and hide narration txt. Is there a way that I can declare a global variable for these two buttons so that the buttons can be inherited on each page but have scripts that will recognize the narration and txt that needs to be shown on the individual page. Right now, the only way that I can have the button recognize the target that it should function for is to have the button physically on each page and that seems to defeat the purpose of a common button that should have a common function. That's why I'm wondering if it could work off of a variable instead of a target?

Discussions have been disabled for this post