I have bit weird question about Viewport.set_input_as_handled(). From where set_input_as_handled know what exact event have to be set as handled . How i can set specific event as handled and another keep not handled ? Is it thread safe ?
No that’s the entire way that works, you can’t set some random event as handled, that’s not how it works so see how it does work And you asked “From where set_input_as_handled know what exact event have to be set as handled” and I answered that
Only one event at a time is either handled or not handled, the event that is currently being processed, events that haven’t happened yet can’t be handled already, and events from the past can’t be set as handled either