9 lines
132 B
GDScript3
9 lines
132 B
GDScript3
|
|
extends Line2D
|
||
|
|
|
||
|
|
func play() -> void:
|
||
|
|
$AnimationPlayer.play("default")
|
||
|
|
|
||
|
|
await $AnimationPlayer.animation_finished
|
||
|
|
|
||
|
|
queue_free()
|