10 lines
178 B
GDScript
10 lines
178 B
GDScript
extends RigidBody2D
|
|
|
|
@onready var animated_sprite_2d = $AnimatedSprite2D
|
|
|
|
func _ready():
|
|
animated_sprite_2d.play("default")
|
|
|
|
func _on_activate_body_entered(body):
|
|
queue_free()
|