![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | hidemat |
Is there a way to append the contents of an array to another array?
For example:
var arr1 = [1, 2 , 3]
var arr2 = [4, 5, 6]
arr1.append(arr2)
This code would append the arr2 within arr1.
[1, 2, 3, [4, 5, 6]]
Is there a way to make it append the values of arr2?
there’s this:
Array — Godot Engine (stable) documentation in English
but the engine doesn’t seem to recognize the function’s existence at all…
zen3001 | 2021-04-25 21:47