extends StaticBody2D onready var animation = $Animation func _on_SaveArea_body_entered(body): animation.play("Save") SaverLoader.save_game()