I want to make the tab button the same button that opens and closes the toolbar which is located at the bottom of my screen in the video game. However, I can’t seem to do that? It only opens the toolbar and then that’s it, My code is in the picture attached and as you can see I’m not the most experienced co
Hi, maybe using boolean scene variable in the condition could help.
The variable will be used to check if your toolbar is already shown or not (True → it’s shown; False → It’s not)
See something like this :
Don’t forget the “trigger once” in the condition and the change of the value of the variable in the event
Hope this will help
Note : Instead of creating / destroying the toolbar, you could Show/Hide it if you want
Okay, thank you! I’m going to try it out and get back to you in a moment.
There is a wiki page about toggle state/variable.
Okay, so something is happening but the toolbar still doesn’t show up ?
Thank you for telling me. I’m going to check it out.