Web UI (HTML/CSS/JS Interface Widgets)

@ - I had a question re: Transparency. When Enable Transparency is set to true, is there a way to find out via blueprints if the mouse is being blocked by UI or being passed through to the game?

The documentation states “This directs the underlying slate widget to sample the pixel under the mouse position on each game tick and dynamically toggles the widget between Hit Test Invisible and Visible modes.”

Based on the above, I’ve tried to sample the visibility value of my WebUI widget, however it does not appear to be changing dynamically when I print the visibility Enum to screen. It just stays at whatever the default setting is. Maybe I’ve interpreted the above wrong.

My use case is I’m performing a raycast in an event tick elsewhere in my app. I want to prevent the raycast from occurring when I’m hovering UI. I need to use the transparency feature because I have a complex, Vuetify based UI with multiple cards which runs as a full screen widget (to make full use of responsiveness etc)

I could check via Javascript what I’m hovering and send that back to UE4, but it seems unnecessary if you’re already sampling the transparency values to determine if the mouse input should pass through.