4.9 UI swallows mouse events

Hello DeChris,

After looking over your project I was able to find that this issue you are are experiencing (in the project provided) is due to the widget being set to visible. The canvas panel by default is set to “Self hit Test invisible” This means that it is “visible” to the player but only as art (does not consume click events) and that it only effects itself (not its children). This means that when you set the widget to visible (as seen in the screen shot from your project below) it will set all widgets in the widget blueprint to “Visible” this includes the canvas panel. The “Visible” setting allows widgets to interact with the cursor. This means that it will then consume mouse inputs. You will need to make sure that the canvas panel is set to “Self Hit Test Invisible” to avoid this problem. I hope that this information helps.

Issue is caused by:

Make it a great day

1 Like