1
0
forked from joey/godottest
Joey Eamigh 9989fab018
addons?
2025-10-10 14:07:23 -04:00

18 lines
316 B
GDScript

@tool
extends ColorRect
@export var loading_text: Label
func _ready() -> void:
visible = true
func _on_visibility_changed() -> void:
while visible:
await get_tree().create_timer(.7).timeout
if loading_text.text.ends_with("..."):
loading_text.text.replace("...", "")
else:
loading_text.text += "."