06-14-2012, 09:48 AM
Oh by the way, I changed sample code, in that code x and y went from 0 to the width/height, instead of width/height-1
Use this:
Use this:
Code:
for x=0, Grid:GetWidth()-1 do
for y=0, Grid:GetHeight()-1 do
local Item = Grid:GetItem(x, y)
end
end