[gd_resource type="Resource" script_class="ToolTag" load_steps=5 format=3 uid="uid://buod6sdg7c12l"]

[ext_resource type="Texture2D" uid="uid://bos2j51dp4j1s" path="res://addons/cyclops_level_builder/art/icons/edit_clip.svg" id="1_oaury"]
[ext_resource type="Script" uid="uid://cewve1gm2ssbu" path="res://addons/cyclops_level_builder/resources/tool_tag.gd" id="2_4grct"]
[ext_resource type="Script" uid="uid://dn7yacvdlbtty" path="res://addons/cyclops_level_builder/tools/tool_clip.gd" id="3_xt387"]

[sub_resource type="InputEventKey" id="InputEventKey_hd0cm"]
device = -1
pressed = true
keycode = 67
unicode = 99

[resource]
script = ExtResource("2_4grct")
id = "clip"
name = "Clip"
input_events = Array[InputEvent]([SubResource("InputEventKey_hd0cm")])
input_events_override = false
tooltip = "Clip

Click on surface of block to place first cutting point.

Click again to place second cutting point.  This will define the plane block will be cut along.

If you press Enter at this point, the block will be cut.  The cutting plane will be defined by the cutting line you've drawn and the normal of the plane it is on.

You can optionally place a third cutting point.  If you do, the three placed points will define the cutting plane when you press Enter.

Press Backspace to delete the last cutting point you placed."
icon = ExtResource("1_oaury")
tool_script = ExtResource("3_xt387")
