[gd_scene load_steps=4 format=3 uid="uid://bd62qfjn380wf"]

[ext_resource type="PackedScene" uid="uid://ctfgfelg0sho8" path="res://src/Tools/BaseTool.tscn" id="1"]
[ext_resource type="Script" path="res://src/Tools/SelectionTools/SelectionTool.gd" id="2"]
[ext_resource type="PackedScene" path="res://src/UI/Nodes/ValueSliderV2.tscn" id="4"]

[node name="ToolOptions" instance=ExtResource("1")]
script = ExtResource("2")

[node name="ModeLabel" type="Label" parent="." index="2"]
layout_mode = 2
text = "Mode:"

[node name="Modes" type="OptionButton" parent="." index="3"]
layout_mode = 2
mouse_default_cursor_shape = 2

[node name="PositionLabel" type="Label" parent="." index="4"]
layout_mode = 2
text = "Position:"

[node name="Position" parent="." index="5" instance=ExtResource("4")]
layout_mode = 2
allow_greater = true
allow_lesser = true

[node name="SizeLabel" type="Label" parent="." index="6"]
layout_mode = 2
text = "Size:"

[node name="Size" parent="." index="7" instance=ExtResource("4")]
layout_mode = 2
value = Vector2(1, 1)
min_value = Vector2(1, 1)
allow_greater = true
show_ratio = true
prefix_x = "Width:"
prefix_y = "Height:"

[node name="Timer" type="Timer" parent="." index="8"]
wait_time = 0.2
one_shot = true

[connection signal="item_selected" from="Modes" to="." method="_on_Modes_item_selected"]
[connection signal="value_changed" from="Position" to="." method="_on_Position_value_changed"]
[connection signal="ratio_toggled" from="Size" to="." method="_on_Size_ratio_toggled"]
[connection signal="value_changed" from="Size" to="." method="_on_Size_value_changed"]
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
