-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Is your feature request related to a problem? Please describe.
Canvases implement ITouchable as you can plug them into TouchEventRelay but no matter what amount of tweaking you do, the Canvas component will not send touch events to the TouchableEvents Protoflux node.
Describe the solution you'd like
I would like if it was changed so that a Canvas had touch events for hovering/interacting with any part of it, as this would simplify creating in-canvas UI like pop-up menus that appear when you right click the canvas at the point that you clicked (see additional context)
Describe alternatives you've considered
- Turning the entire canvas into a button and using
ButtonEvents- The problem with this is that it will either block or be blocked by other interactable elements on the canvas, and I ideally want to have interaction areas layered on top of this while still allowing the menu to be opened on any part of the canvas
- Slot searching for someone's laser to find where it is hitting and then detect if that is on the canvas
- This is a bad solution, and would be very fragile unless ProtoFlux node to get the interaction laser's hit data #3029 was implemented first
Additional Context
This is an image of the video player in a platform known as Open Cobalt, it had a context menu that would pop up on the video player when interacting with it to handle common video controls. I want to replicate this in resonite, but it isn't simple to do so because of the issues in this issue.

Requesters
Venport/dustysprinkles