What is the problem with this code you see? When we get the key in the game, the Has Key variable is gets true but the widget does not disappear.
Would it appear if you remove that “remove all widget”node?or maybe the widget has nothing itself.
the problem is not that it appears, the widget appears but when I take the key it should disappear but it doesn’t.
1 Like
ah…sorry I didn’t pay attention.
And how do you know it was true.did you print it or set a break point to see its value?
normally we can’t get in the car, but when we get the key we can get in the car. i realized that the problem is with Event Begin Play. when the game starts it checks has key variable once and there is no more. What can I use instead of event begin play?