Replies: 1 comment 1 reply
-
As an example of what I'm trying to imitate: Baba Friend by Hempuli |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to either selectively pass-through mouse events, or otherwise implement a non-rectangular window for the purposes of mouse events?
My specific use-case is to make a draggable desktop creature, and ideally they would have a non-rectangular "hitbox" for clicks, where clicking on a transparent area on the creature would send the click to the underlying window.
I can make a borderless window with transparent sections, and I can see that #1434 added a way to pass-through mouse events with
set_cursor_hittest
(also #2559), but I suspect that this is too coarse-grained to implement something like I want, as I would need to use mouse events to determine whether to enable mouse events.Beta Was this translation helpful? Give feedback.
All reactions