why value did't change in current time?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By potatobanana

when i click increase value +=3 my did’t show in current scene but will show it in next scene.

i dont know how to explain with my broken english but
here link to video, https://youtu.be/BAt0MaIy9I0

sorry for my broken eng.

:bust_in_silhouette: Reply From: TyTYctA

Lable.text only update when calls it.
In your script. Lable.text update when the scene is created, not update everytime.

You can fix as follow
Replace func _ready (in object_between_world.gd) to func _process(delta)
It will be called every frame
like this

 func _process(delta):

hi thank you very much. you just save me

potatobanana | 2019-03-06 12:55