i have an Array.
Code: Select all
a = {}
for i=0,10 do
color = image:pixel(x,y)
newColor= color:colors()
a[i] = newColor ???
end
Moderators: Shine, Insert_witty_name
Code: Select all
a = {}
for i=0,10 do
color = image:pixel(x,y)
newColor= color:colors()
a[i] = newColor ???
end
Code: Select all
c=image:pixel(x,y):colors()
a[i]=Color:new(c.r, c.g, c.b)
Code: Select all
c=image:pixel(x,y):colors()
a[1]=c.r
a[2]=c.g
a[3]=c.b