GODOT 4.2
How give detect move mouse ???
<< var curPos : Vector2 = get_global_mouse_position()
if Input.warp_mouse(curPos)>0:
print("mouse moved ! ")
>>
GODOT 4.2
How give detect move mouse ???
<< var curPos : Vector2 = get_global_mouse_position()
if Input.warp_mouse(curPos)>0:
print("mouse moved ! ")
>>
smth like this
func _input(event):
if event is InputEventMouseMotion:
print("mouse motion")
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.