How would i do something like this.?
local actualW = display.actualContentWidth local actualH = display.actualContentHeight local centerX = display.contentCenterX local centerY = display.contentCenterY local function funt( colorOne ) local first = display.newRect( centerX, centerY, actualW, actualH ) first:setFillColor( colorOne ) end funt( (1, 0, 0) )
So i want to call the function and add a color into it background. How would i do that?
–SonicX278