- Home /
Question by
Bromm · Jan 07, 2021 at 04:27 PM ·
uisceneviewscene viewuitoolkitscene-view
How to make VisualElement not to block clicks?
When I add UI-Toolkit ui on top of the SceneView it blocks all scene controls. Is there a way to prevent this behaviour for certain elements or for transparent elements parts?
*The question relates to the new UI-Toolkit and not to the old Unity UI (uGUI).
Comment
Answer by Tomatotom1234 · Jan 07, 2021 at 05:15 PM
uncheck the "Block Raycast" box on the object blocking everything
The ui is based on ui-toolkit and made via ui builder. Unfortunately, UI builder seems not to have such checkbox :(
screenshot-5.png
(38.3 kB)
oh well then try searching up "UI Bulder blocking raycasts unity"