limboai/demo/examples/waypoints/waypoint_marker.gd

22 lines
523 B
GDScript

#*
#* waypoint_marker.gd
#* =============================================================================
#* Copyright 2021-2023 Serhii Snitsaruk
#*
#* Use of this source code is governed by an MIT-style
#* license that can be found in the LICENSE file or at
#* https://opensource.org/licenses/MIT.
#* =============================================================================
#*
@tool
extends Marker2D
func _ready() -> void:
queue_redraw()
func _draw() -> void:
draw_circle(Vector2.ZERO, 50.0, Color.CHARTREUSE)