Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | sphixy011 |
hello
i have a camera and i want he detect the move of the mouse
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | sphixy011 |
hello
i have a camera and i want he detect the move of the mouse
Reply From: | MmTtDeveloper |
You can detect mouse movement with this code:
func _input(event):
if event is InputEventMouseMotion:
# Mouse movement has been detected, do something about that here
Source: Godot Documentation