how to show each array item everytime i press "space" button?

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

i have an array with four different textx and this function:

func check_testi():
for i in range(0,testi.size()):
testo_emesso.text += testi[i]

how to show each of these 4 texts everytime i press “space”?

:bust_in_silhouette: Reply From: bloodsign

see Print a list item from array once at time with for cycle - Archive - Godot Forum