How to get variable from blueprint class to level blueprint?

Hey I’m having trouble on what I should plug in to the “object” part of the node “Cast to WB_ProMainMenu” all I want to do is get the variable from the class. By the way this is the level blueprint. I included a picture.

Are you able to demonstrate in a screenshot? Please

Class is not a object, you need to create one or get one first. Considering it’s Main menu i assume this is UMG widget? Then when you create the widget you get reference to it, is then of just throwing it away store it in variable, you also don’t need to do casting at that point (as long as you set variable type correctly)