How to Disable Mouse Over Events on Mouse Capture

My settings are:

  • Game Mode: Game and UI
  • Mouse Capture Mode: Capture During Mouse Down
  • Enable Mouse Over Events: True

I’d like to disable Mouse Over Events when the mouse is captured. I’m currently doing this. Is there a better way?

I think you should make an action and bind all the needed buttons to it:
13

And in your blueprint you should make something like this:

You just set the inverted boolean value both on press and release.