6 lines
176 B
GDScript
6 lines
176 B
GDScript
extends Node2D
|
|
|
|
func _on_area_2d_input_event(viewport: Node, event: InputEvent, shape_idx: int) -> void:
|
|
if Input.is_mouse_button_pressed(MOUSE_BUTTON_LEFT):
|
|
print("check")
|