18 lines
529 B
Text
18 lines
529 B
Text
|
[gd_scene load_steps=2 format=3 uid="uid://c8sxdckrhknyo"]
|
||
|
|
||
|
[ext_resource type="PackedScene" uid="uid://bxxuj5sw4p1oy" path="res://sprite_2d.tscn" id="1_1kdcd"]
|
||
|
|
||
|
[node name="Node2D" type="Node2D"]
|
||
|
|
||
|
[node name="Button" type="Button" parent="."]
|
||
|
offset_left = 53.0
|
||
|
offset_top = 51.0
|
||
|
offset_right = 172.0
|
||
|
offset_bottom = 95.0
|
||
|
text = "Toggle motion"
|
||
|
|
||
|
[node name="Sprite2D" parent="." instance=ExtResource("1_1kdcd")]
|
||
|
position = Vector2(289, 187)
|
||
|
|
||
|
[connection signal="pressed" from="Button" to="Sprite2D" method="_on_button_pressed"]
|