Files

6 lines
134 B
GDScript3
Raw Permalink Normal View History

class_name Metronome extends AudioStreamPlayer
func on_conductor_ticked(update: BeatUpdate) -> void:
if update.new_beat():
play()