Using triggers to show a gui

I want to set it up so if a player gets inside a trigger a gui button pops up so he can activate a switch. I set up the triggers but I’m still new to the gui system and I’m having trouble doing this. Any suggestions?

Make a public (static if youre accessing from another script) bool called playerInTrigger (be more specific to the game needs)
Then using the OnTriggerEnter function set the bool to true. Using OnTriggerExit set the bool to false.

Now, using OnGUI function, make it state that if playerInTrigger is true, make a button.

Hope this helps :smile:

Sure did thanks a lot!!!