Click Through support

Hi there,
i just updated to the new version and wonder about the click-through “fix”. Last months i finally got it work with multiple UiDocuments and now the feature is “fixed”…

I work with an “Effect” UI Dockument overlay on top to highlight something and i NEED a “click through” option for that (darkening areas, or have screen filling animations above the ui). Now it prevents that clicks on the underlying ui-document…

The CSS Option to fix that (pointer-events: none; ) seems still not existing.

Any ideas how to implement a “click through” with that version (1.0.0-preview.15)?

Here some examples:
7440410--912014--2021-07-01 GenerationShip - Ui Highlight Effect.gif

7440410--912017--2021-07-02 GenerationShip - New Tutorial Help.gif

hello StefanWo,
pointer-events: none equivalent would be setting pickingMode = PickingMode.Ignore on your VisualElement (or pickingMode="Ignore" in the uxml file)

It worked, thanks. Any reasons to not do that with the known css attribute? Would be way easier to find :slight_smile: