Saving variables to the Level Blueprint

I’m working on a time-trial platformer and have almost everything working as intended, however, at the moment my timer is attached to my character BP and I have no idea how to get the levels to save the time as a variable on a level by level basis.

My first assumption would be to have the level blueprint keep track of the timer but I don’t know how to reference that variable in my widget since you can’t simply “CastToLevelBP”

Essentially I need high score functionality with the time being the score

Hey @zoruaburst!

So my best suggestion would be to track that on the GameState. You can also create a save file to keep it between sessions!

Disclaimer: This link is not associated with Epic Games, Unreal Engine, or their partners.