How to get return value from this function?
I tried this:
But it doesn't work
upd: the console.log(...) works but return doesn't return a value to C2 variable
Develop games in your browser. Powerful, performant & highly capable.
That 0 by where the cursor is in your screenshot has quote marks around it, but not & symbols which would cause it to be read as a string.
mrtumbles
Yeah, I know. It doesn't matter. Just mistaken when tried to simplify the code. Previously there was "&loopindex("i")&"