[gd_scene load_steps=5 format=2]

[ext_resource path="res://Resources/Shapes/CircleHalf.png" type="Texture" id=1]
[ext_resource path="res://Resources/SpaceGrotesk-Bold.ttf" type="DynamicFontData" id=2]
[ext_resource path="res://Scenes/Bubble/Bubble.gd" type="Script" id=3]

[sub_resource type="DynamicFont" id=1]
size = 33
font_data = ExtResource( 2 )

[node name="Bubble" type="Node2D"]
script = ExtResource( 3 )

[node name="Visual" type="Node2D" parent="."]

[node name="TextEdit" type="TextEdit" parent="Visual"]
margin_right = 40.0
margin_bottom = 40.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="Label" type="Label" parent="Visual"]
margin_left = -23.0
margin_top = -22.0
margin_right = 20.0
margin_bottom = 21.0
grow_horizontal = 2
grow_vertical = 2
custom_colors/font_color = Color( 0, 0, 1, 1 )
custom_fonts/font = SubResource( 1 )
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}

[node name="NinePatchRect" type="NinePatchRect" parent="Visual/Label"]
show_behind_parent = true
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -42.0
margin_top = -42.0
margin_right = 46.0
margin_bottom = 43.0
mouse_filter = 1
texture = ExtResource( 1 )
patch_margin_left = 32
patch_margin_top = 32
patch_margin_right = 32
patch_margin_bottom = 32
__meta__ = {
"_edit_use_anchors_": false
}

[node name="NinePatchRect2" type="NinePatchRect" parent="Visual/Label"]
self_modulate = Color( 1, 0, 0, 1 )
show_behind_parent = true
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -35.0
margin_top = -35.0
margin_right = 40.0
margin_bottom = 37.0
texture = ExtResource( 1 )
patch_margin_left = 32
patch_margin_top = 32
patch_margin_right = 32
patch_margin_bottom = 32
__meta__ = {
"_edit_use_anchors_": false
}

[node name="grabber" type="Timer" parent="."]
wait_time = 0.05
one_shot = true
autostart = true

[connection signal="mouse_entered" from="Visual/Label/NinePatchRect" to="." method="_on_NinePatchRect_mouse_entered"]
[connection signal="mouse_exited" from="Visual/Label/NinePatchRect" to="." method="_on_NinePatchRect_mouse_exited"]
[connection signal="timeout" from="grabber" to="." method="_on_grabber_timeout"]
