summaryrefslogtreecommitdiff
path: root/checkbox.tscn
blob: 249b76d7af11979bdf082471ff1af6d2b4d228aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[gd_scene load_steps=3 format=3 uid="uid://opbr0q2e2rex"]

[ext_resource type="Texture2D" uid="uid://cqpprk271vdnq" path="res://checkbox.png" id="1_rqra1"]
[ext_resource type="Script" path="res://checkbox.gd" id="2_1btp4"]

[node name="Checkbox" type="Sprite2D"]
texture_filter = 1
texture = ExtResource("1_rqra1")
hframes = 2
script = ExtResource("2_1btp4")
metadata/_edit_group_ = true

[node name="Button" type="Button" parent="."]
modulate = Color(1, 1, 1, 0)
offset_left = -8.0
offset_top = -8.0
offset_right = 8.0
offset_bottom = 8.0

[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]