arava
0
Q:

how to get the length of a table in lua

Use the # Operator (#table)
1
myTable = {1, 2, 3}

for i = 1, #myTable do
	-- Code
end
0

New to Communities?

Join the community