pegchamp/Menu/MainMenuCam.gd
2021-10-18 11:27:04 +02:00

4 lines
131 B
GDScript

extends Camera2D
func _process(delta: float) -> void:
global_position = lerp(global_position, get_global_mouse_position(), 0.05)