How to loop an animation label

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

hello I am currently working on the end of my game of pong when a player is shown a label ‘Press R to restart’ here is my code:

func restart_stage():
	$RestartLabel.visible = true

Could you please clarify your question? If the animation is contained in RestartAnimation then it should restart via your code.

If that isn’t working, try something like this:


Ertain | 2021-04-20 19:09

thank you this worked!!

JakeCarbine | 2021-04-21 09:54