3.1 issue - is InputEventScreenDrag broken ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By GameVisitor

I just converted my project (from 3.0.6) to 3.1 Note : ALWAYS BACKUP first and although it loaded well at first, it seems like InputEventScreenDrag is not being triggered anymore.

As per below code snippet :

func _input(ev):
	if(ev is InputEventMouseButton && ev.pressed == false):
		on_release_touch()
		pass
	if(ev is InputEventScreenDrag):
		print("dragging.")
		on_dragging_touch( ev )
		pass
		
	pass
	
	
func _input_event(camera, event, pos, normal, shape):
	if (event is InputEventMouseButton and event.is_pressed() == true):
		on_pickup_obj( event, self )

on_pickup_obj() is still being called whereas on_dragging_touch() is not.
Any ideas if this is a bug or new setting that needs to be switched on ?

PS: on_release_touch() is working so it is a drag issue.

Thx.

:bust_in_silhouette: Reply From: GameVisitor

Found it ! Had to turn on this setting :

[Input Devices → Pointing → Emulate touch from mouse

img

![https://pasteboard.co/I7R6bSm.png3