Pass a variable from menu to mainworld BP

I have a main menu with a play button.
When I click the play button I would like to transition from one post process effect to another.

I have the transition made but don’t understand how I can let the main BP know when the play button has been clicked.

Hey @Xokks!

So can you be more specific about this “mainworld” BP? Is it a Level Blueprint? A Game Instance BP? A GameMode BP? Or a custom Actor?

To get ahead of a possibility, you CANNOT cast to the Level Blueprint. You may need to put your code elsewhere if that is what you’re intending.

Get back to us with more info!

1 Like

Yes Level BluePrint is what I was thinking, but just my guess.

The first post explains what I’m trying to accomplish doesn’t matter how its completed, I just thought >click button turns value true, when value true execute code

When the play button is selected I want a change in post process effect to happen and it also needs to involve a timeline so it’s smooth.