mirror of
https://github.com/Relintai/godot-steering-ai-framework.git
synced 2024-12-28 09:47:16 +01:00
15 lines
222 B
GDScript
15 lines
222 B
GDScript
extends Node2D
|
|
|
|
|
|
var target: = Vector2.ZERO
|
|
|
|
|
|
func _draw() -> void:
|
|
draw_circle(target, 20, Color(1, 1, 0, 0.25))
|
|
draw_circle(target, 5, Color.yellow)
|
|
|
|
|
|
func draw(location: Vector2) -> void:
|
|
target = location
|
|
update()
|