8 lines
152 B
GDScript
8 lines
152 B
GDScript
extends Node2D
|
|
|
|
func _ready() -> void:
|
|
$Container.size=get_viewport_rect().size
|
|
|
|
func set_tooltip(text: String) -> void:
|
|
$Container/Tooltip.text=text
|