[gd_scene load_steps=5 format=3 uid="uid://bdlyuun4o4val"]

[ext_resource type="Texture2D" uid="uid://d02y0dsfaynbl" path="res://puzzles/assets/button.png" id="1_atyp4"]
[ext_resource type="Script" path="res://puzzles/button/button.gd" id="1_gpasp"]
[ext_resource type="AudioStream" uid="uid://scqlma1158w3" path="res://scenes/assets/jingles/button.wav" id="3_b8x25"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_xj0k4"]
size = Vector2(6, 6)

[node name="Button" type="Area2D"]
script = ExtResource("1_gpasp")

[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_atyp4")
hframes = 2

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

[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("3_b8x25")
volume_db = -6.0

[connection signal="body_entered" from="." to="." method="_on_body_entered"]
