1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-25 09:34:24 +00:00
hella-farm/behaviours/move_towards_target.gd

9 lines
147 B
GDScript3
Raw Normal View History

extends MoveTowards
class_name MoveTowardsTarget
@export var target: Node2D
func get_followed_global_position():
return target.global_position