declare array in godot

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

how can i declare array in godot
I know the normal way of declaring an array as
var array = [1, 2, 3]
but doing how can i declare an array without putting elements in it
Example code in c++:
int array[100];
how in godot can i do this

:bust_in_silhouette: Reply From: ArthyChaux

You should take a look at https://docs.godotengine.org/en/stable/classes/class_poolintarray.html