mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-25 09:34:24 +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
|