summaryrefslogtreecommitdiffstats
path: root/touch_screen_button.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'touch_screen_button.tscn')
-rw-r--r--touch_screen_button.tscn19
1 files changed, 19 insertions, 0 deletions
diff --git a/touch_screen_button.tscn b/touch_screen_button.tscn
new file mode 100644
index 0000000..5b65811
--- /dev/null
+++ b/touch_screen_button.tscn
@@ -0,0 +1,19 @@
+[gd_scene load_steps=3 format=3 uid="uid://dwl0fylftkrn7"]
+
+[ext_resource type="Script" uid="uid://d28xghvh1kwa5" path="res://touch_screen_button.gd" id="1_8gxd0"]
+
+[sub_resource type="RectangleShape2D" id="RectangleShape2D_l8v81"]
+size = Vector2(40, 40)
+
+[node name="TouchScreenButtonRight" type="TouchScreenButton"]
+shape = SubResource("RectangleShape2D_l8v81")
+passby_press = true
+visibility_mode = 1
+script = ExtResource("1_8gxd0")
+
+[node name="TextureRect" type="TextureRect" parent="."]
+offset_left = -8.0
+offset_top = -8.0
+offset_right = 8.0
+offset_bottom = 8.0
+expand_mode = 1