RustHacker/tooltip.gd

13 lines
360 B
GDScript3
Raw Normal View History

extends PanelContainer
@export var tooltip_label : Label
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
global_position = get_global_mouse_position() + Vector2(1,1)