Calling interface function in a widget doesn't work

that reference is in the game mode class. if I want to get access I probably need to cast to it which destroys the whole point of using interfaces in the first place.