How would i do this

HI DEVS,

lets say i have a function

local function someFunc()
   return 1, 2
end

how would i get the number 2? from the fuction?

local first,second = someFunc()
print(second) -- prints 2
1 Like