if I hit the Play button, then I click on those 2 buttons I created, It works as expected,
but when I click the empty space in main menu( a UserWidget spawned in MainMenuMap’s BeginPlay function),
It will trigger the event defined in that BP_Player’s native parent class.
How can I gain a Controller for clicking the buttons on the menu, and don’t trigger the behavior which defined in other Class(like that BP_Player) if I click the empty space?
Thanks, It exactly solved my problem, but here is another question, How do we detect current Controller’s input mode, so we can change its state base the current state?