Game is starting background of the main menu

I am making an endless runner game. And in game when i press play tiles are coming automatically one by one because spawning tile function is in game mode bp. But when i added main menu level and then i click play main menu level comes it is okey but at the background game is also starting.

Fail 1 : I created a variable boolean on main menu widget but couldnt cast to it on third person game mode. Because i couldnt find something to put to object pin.

Fail 2 : I moved spawn tile function to level blueprint but i cant cast to level blueprint.

So how can i fix this problem?

Thank you.

Just as you go into the menu do this:


Thank you so much i tried much longer tryings as a beginner. And learnt that solution is short.

1 Like