summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/button.tscn3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/button.tscn b/components/button.tscn
index 0071746..6248b45 100644
--- a/components/button.tscn
+++ b/components/button.tscn
@@ -16,7 +16,7 @@ default_font = SubResource( 1 )
[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 10, 32 )
-[node name="ButtonTest" type="Area2D"]
+[node name="Button" type="Area2D"]
script = ExtResource( 5 )
[node name="Left" type="Sprite" parent="."]
@@ -48,7 +48,6 @@ __meta__ = {
[node name="Hitbox" type="CollisionShape2D" parent="."]
shape = SubResource( 3 )
-
[connection signal="input_event" from="." to="." method="_on_ButtonTest_input_event"]
[connection signal="mouse_entered" from="." to="." method="_on_ButtonTest_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="_on_ButtonTest_mouse_exited"]