2025-07-29 12:34:48 +00:00
|
|
|
extends Control
|
|
|
|
|
2025-07-29 12:59:56 +00:00
|
|
|
var tooltip_offset = Vector2(25,10)
|
|
|
|
|
2025-07-29 12:34:48 +00:00
|
|
|
|
|
|
|
func _ready() -> void:
|
2025-07-29 12:59:56 +00:00
|
|
|
pass
|
2025-07-29 12:34:48 +00:00
|
|
|
|
|
|
|
|
2025-07-29 12:59:56 +00:00
|
|
|
func _unhandled_input(e: InputEvent) -> void:
|
|
|
|
if e is InputEventMouseMotion:
|
|
|
|
var tooltip_position = e.position + tooltip_offset
|
|
|
|
position = tooltip_position
|