For some reason in Godot 4, _gui_input only gets triggered by InputEventMouseButton but not by InputEventScreenDrag or InputEventScreenTouch although Emulate Touch From Mouse is enabled. With just _input it works but then it also triggers with cursor or focus outside of the scroll container so it's no alternative.
For some reason in Godot 4,
_gui_input
only gets triggered byInputEventMouseButton
but not byInputEventScreenDrag
orInputEventScreenTouch
although Emulate Touch From Mouse is enabled. With just_input
it works but then it also triggers with cursor or focus outside of the scroll container so it's no alternative.