blob: e47e3c7c7921bdf9892e5eebee4590f73a28eaea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
extends Node
var mouse_movement = Vector2.ZERO
func get_mouse_movement():
var ret = mouse_movement
mouse_movement -= ret
return ret
func add_mouse_movement(relative):
mouse_movement += relative
|