How i get a func that returns how many elements of an array are equals in separated arrays
with gdscript in godot 4
for example:
argument
:array = [1, 5, 1, 4, 5, 5, 7]
return
[1 ,1], [4], [5, 5, 5], [7]
or something similar
New contributor
Crow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.