pegchamp/Menu/MainMenuCam.gd

5 lines
131 B
GDScript3
Raw Normal View History

2021-10-18 09:27:04 +00:00
extends Camera2D
func _process(delta: float) -> void:
global_position = lerp(global_position, get_global_mouse_position(), 0.05)