[gd_scene load_steps=2 format=2] [ext_resource path="res://Main.gd" type="Script" id=1] [node name="Main" type="Node2D"] script = ExtResource( 1 ) [node name="Button" type="Button" parent="."] anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 margin_left = 40.0 margin_top = 250.0 margin_right = 320.0 margin_bottom = 312.0 text = "Hello World" __meta__ = { "_edit_use_anchors_": true } [connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]