7 lines
140 B
GDScript3
7 lines
140 B
GDScript3
|
|
class_name Bud extends Node2D
|
||
|
|
|
||
|
|
func _on_opened():
|
||
|
|
$AnimatedSprite2D.play("open")
|
||
|
|
await $AnimatedSprite2D.animation_finished
|
||
|
|
queue_free()
|