This is my first ever real work with blueprints and I’m having an issue getting blueprints to communicate with each other. There must be something simple I’m not getting.
Basically all I want is to have a widget set it self from its hidden state (set by default) to visible whenever I press the spacebar and then have it toggle off when I press the spacebar again. For some reason, when I click play it sets itself from hidden to visible instantly and won’t toggle off.
You do not show us the implementation of the interface.
Further, you dont HAVE to store a variable like “isMainMenuShow” outside of the widget as you can read these values from the widget itself.
Show us the implementation of the interface and show us what classes each of the pictures are from. You are calling the TestFunc on self, but self is NOT a widget it seems. I also dont understand why you would use an interface to call a function within the same calss.
I guess you are just overcomplicating things if it is about visibility of your Widget
There is no need for interfaces to do that.
Try to keep your Widgets in the PlayerController and keep them in a Variable. Makes life easier.