How write detect MOVE MOUSE?

GODOT 4.2

How give detect move mouse ???

<<	var curPos : Vector2 = get_global_mouse_position()
	if Input.warp_mouse(curPos)>0:
 
                    print("mouse moved ! ")



>>

InputEventMouseMotion

smth like this

func _input(event):
    if event is InputEventMouseMotion:
        print("mouse motion")
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.