func loaddialog():
var finished = false
gettree().paused = true
if dialogindex < dialog.size():
$RichTextLabel.bbcodetext = dialog[dialogindex]
$RichTextLabel.percentvisible = 0
$Tween.interpolateproperty(
$RichTextLabel, "percentvisible",0,1,1,Tween.TRANSLINEAR, Tween.EASEINOUT
)
$Tween.start()
else:
queuefree()
dialog_index += 1
func onTweentweencompleted(object, key):
finished = true
I have this code for a text box to pause on startup and unpause on completion try putting unpause = true at the end of the code and it was still in pause mode