[gd_scene load_steps=8 format=3 uid="uid://d11toudt5y03k"]

[ext_resource type="Script" uid="uid://cfi441fv227kj" path="res://Scripts/Interactables/HitButton.cs" id="1_nd3ct"]
[ext_resource type="Texture2D" uid="uid://d24g1qb40t72l" path="res://Sprites/Button_Small.png" id="2_1w5nf"]
[ext_resource type="AudioStream" uid="uid://bjvklk7qmlivd" path="res://SFX/288963__littlerobotsoundfactory__click_electronic_14.wav" id="3_7xhc3"]

[sub_resource type="CircleShape2D" id="CircleShape2D_vvpve"]

[sub_resource type="AtlasTexture" id="AtlasTexture_rie4n"]
atlas = ExtResource("2_1w5nf")
region = Rect2(0, 0, 8, 8)

[sub_resource type="AtlasTexture" id="AtlasTexture_sgwyd"]
atlas = ExtResource("2_1w5nf")
region = Rect2(8, 0, 8, 8)

[sub_resource type="SpriteFrames" id="SpriteFrames_b2dxw"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_rie4n")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_sgwyd")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

[node name="HitButton" type="Area2D" groups=["Interactable"]]
collision_layer = 4
collision_mask = 138
script = ExtResource("1_nd3ct")

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_vvpve")

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_b2dxw")
autoplay = "default"
frame_progress = 0.061742

[node name="ActivationSound" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("3_7xhc3")
