MIDI-Synthesizer/Project/note.gd
2025-04-15 11:57:16 -07:00

8 lines
190 B
GDScript

extends Control
func _on_test_gui_input(_event):
if Input.get_action_raw_strength("Remove Note") == 1:
self.queue_free()
func _on_area_2d_area_entered(_area):
get_node("Audio").play()