1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-23 00:24:21 +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