Hi everyone,

I’m trying to create a two-dimensional array in Ofelia using ofTable. I initially tried using local

local x = ofTable(a, b);

but it didn’t work. Then I attempted something like this:

local x = ofTable();
local a = 1;
x[a] = ofTable();

Unfortunately, this approach also didn’t work for me. I’ve tried a few different methods, but I haven’t been able to get it right. Could someone please guide me on how to properly create a two-dimensional array (A x B ) using ofTable?

Thank you so much for your help!
Desperate.