Hey, y'all! I'd like to make it so that if the player isn't moving the mouse, the cursor will disappear. I've learned that InputEventMouseMotion will work to detect mouse movement, but !InputEventMouseMotion doesn't seem to work for the opposite. Am I/my code just wrong, or is there something else I should be doing?
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
if !InputEventMouseMotion:
await get_tree().create_timer(1.0).timeout
Input.set_mouse_mode(Input.MOUSE_MODE_HIDDEN)
```