Problem with cast

Hello,

I don’t know how to have a reference of my lobby menu in order to cast… I hope you will understand what I want to do because I don’t really know how to explain that.

Here is my problem :

And here is my event to display the GameSettingsWidget

Thank you :slight_smile:

Try plugging your “LobbyMenuRef” (Variable) into the cast’s object pin.
You need a reference to the object you’re trying to cast as before you can go through with the cast :slight_smile:

Also, depending on how you’ve set up the reference, you might just be able to work from the “LobbyMenuRef” with no need for a cast.

Also, take a look at this page: Casting Quick Start Guide | Unreal Engine Documentation

It is a little mistake… I used “promote to a variable” and forgot to remove the variable. I don’t know how to create a reference to my Lobby Menu.