How can I identify a click event on a particular Node2D in Godot 3? I have some simple code that draws a circle and I want to run code when that circle is clicked.
extends Node2D
func _ready():
# Called every time the node is added to the scene.
# Initialization here
pass
func _draw():
# part of the CanvasItem class
draw_circle(Vector2(0,0), 20, Color(1,1,1))
Thanks.