Open
Description
For e.g. with StackedLayout or GridLayout it is possible that different clickable (or other events like hover) elements are overlapping or are in front of each other. It would be awesome if the triggered wvents would be aware of the fact that e.g. a click happened which initiated also another action.
This would give the possibility to control which event actually gets fired, rather simply firing everything.
My case especially is:
I am using StackedLayout:
- "game" is in the background and uses the complete window/screen (it shows a tilemap that has lots of clickable tiles & objects)
- "user interface" is laying on top of it and is always visible
How can I prevent a click on a button of the "user interface" to trigger a click in the "game" which is underneath? For sure any click that does not hit a widget in the "user interface" should be handled as usual by the "game" instead.
Metadata
Metadata
Assignees
Labels
No labels