Hello!
I can subscribe to Node.EventType.TOUCH_START event. This event is called for both mouse cursor and touch. I need to know the specific type of interaction: mouse cursor or touch. How can this be determined? I didn’t find such information in EventTouch.
I would also not want to subscribe to Node.EventType.MOUSE_DOWN and somehow suppress events in Node.EventType.TOUCH_START if the first ones were called.
Ultimately, even a Desktop can have a touch screen (or a laptop with a touch screen), where the user can either click with a mouse or touch with a finger.
In general, depending on the type of click, I need to change the location of the object. If there was a mouse, then the object should be placed under the cursor. If there was a touch, then the object should be placed above the touch point.