#Draw canvas node with UI element controls on top

1 messages · Page 1 of 1 (latest)

trail hill
#

I have a TextureRect (called Canvas) which the user can draw inside of with the mouse. On top of that there is a UI button layer they can interact with.

Problem is I'd like all the UI elements to be inside their own control node so I can show/hide them easily. However when I tried this using a Full Rect control I was no longer able to draw inside the Canvas layer.

If I set them inside a top left anchored control it works fine. But this messes up the position of some of the UI elements

#

I assume there is some combination of mouse filter / focus layers and stuff that will make this work, but I'm too dumb to figure it out

velvet pumice
#

Just set the mouse filter on the full rect control to ignore

trail hill
#

Ahh
I think my issue was I had a 2nd full rect control (reference rect) and I also need to ignore mouse on that one