0 votes

no se como obtener la infomacion de un label para imprimirla en otro label.
updatersantes($rs6) y updatersantes(get_node("rs6")) y me imprime label:1310 en lugar del texto que esta en el label.

in Engine by (18 points)

1 Answer

0 votes

Usa de la propriedad text. No es una funcion.

func _ejemplo(otro_label):
    var label = $rs6
    otro_label.text = label.text
by (1,238 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.