mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-23 00:24:21 +00:00
9 lines
147 B
GDScript3
9 lines
147 B
GDScript3
|
extends MoveTowards
|
||
|
class_name MoveTowardsTarget
|
||
|
|
||
|
@export var target: Node2D
|
||
|
|
||
|
|
||
|
func get_followed_global_position():
|
||
|
return target.global_position
|