Event BeginPlay is triggered any time the game loads or starts, so it will run if you close the game and then start it again.
If you want values to be saved between closing/opening the game, you need to use a save file. Do on event begin play, check if save file exists, if it does, load the value “HasOpened” or whatever Bool you’d like, if it doesn’t, set that value to true and save the save file.
Then every time you start the game it will load the save file to determine your ‘state’ and whether or not it should run.
I want every time I open the ENGINE, the configuration that I created in Level blueprint is exactly how I put before. For every time I close and open the program , it deletes all the Level Blueprint ( I saved everything before closing )
What settings are you trying to change, exactly? If it’s an editor setting there are other ways than using your projects level blueprint. The level blueprint will only run when the level is run once, so if you don’t, it won’t update your settings. That’s not really the proper way to change editor settings… What setting are you trying to change exactly and I’m sure we can find a persistent way that is editable in-game?
What do you mean by reset? Is it completely empty or what? I’m pretty sure blueprints won’t just disappear, so make sure you didn’t mistakenly create the nodes somewhere else.
Consider this, imagine: I create a simple widget “Main Menu”, then save it, then open the Level Blueprint Editor, in the Event BeginPlay, place a new node as Create Widget, setting the class to invoke, then return the value: Add to Viewport. Ok. Save it and run. Ok, work it. But if i close the Engine, and open it again, i would have to re-do it.