12 lines
217 B
GDScript
12 lines
217 B
GDScript
extends Control
|
|
|
|
func _process(delta: float) -> void:
|
|
global_position = get_global_mouse_position()
|
|
|
|
func set_text(text: String):
|
|
$Label.text = text
|
|
visible = true
|
|
|
|
func clear():
|
|
$Label.text = ""
|
|
visible = false
|