[gd_scene load_steps=4 format=3 uid="uid://x6pqolxtgwvy"]

[ext_resource type="Script" path="res://scripts/Interactable.cs" id="1_4ni08"]
[ext_resource type="SpriteFrames" uid="uid://bvnfvjn7am8tc" path="res://resources/sprites/key.tres" id="2_0s1fq"]

[sub_resource type="CircleShape2D" id="CircleShape2D_w4p6k"]
radius = 60.0

[node name="Interactable" type="Node2D"]
script = ExtResource("1_4ni08")

[node name="Area2D" type="Area2D" parent="."]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("CircleShape2D_w4p6k")

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
scale = Vector2(0.5, 0.5)
sprite_frames = ExtResource("2_0s1fq")
autoplay = "default"
frame = 1
frame_progress = 0.336703

[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]
[connection signal="body_exited" from="Area2D" to="." method="_on_area_2d_body_exited"]
