1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-21 23:54:23 +00:00
hella-farm/behaviours/hover_detector.tscn

18 lines
637 B
Text

[gd_scene load_steps=3 format=3 uid="uid://cbg5kgwxusvxf"]
[ext_resource type="Script" path="res://behaviours/hover_detector.gd" id="1_51m5p"]
[sub_resource type="CircleShape2D" id="CircleShape2D_ktsow"]
radius = 8.0
[node name="HoverDetector" type="Area2D"]
collision_mask = 0
monitorable = false
script = ExtResource("1_51m5p")
[node name="Shape" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_ktsow")
debug_color = Color(0.8, 0.396078, 0.384314, 0)
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]