I’ve built a UI panel along the right side of my screen (500 pixels from the edge), and I’m using the TopDown game template to start with. I want the system to ignore this 500 pixel area, because when I attempt to click on my buttons, the character is trying to move. The logic I have appears to kind of work (I attached a Print String, and noticed that the String doesn’t print when I click within this 500 pixel area.), but the Character is still trying to move to this location, and my button still isn’t working.
The nodes names I dont remember exactly but you can use the "Set Mouse Mode to UI" and "Set Mouse Mode to Game" nodes to disable moving your character when you
re clicking on right hand side UI.
But I’m already using Set Game Mode to Game and UI.
put all your widgets on a MainHUD widget, keep a reference to it in your PlayerController
then in your check above do MainHUD->IsHovered()