anyone know?
Just invoke the fill() function before the text() function. Here’s an example:
-- TextColor
-- Use this function to perform your initial setup
function setup()
end
-- This function gets called once every frame
function draw()
-- This sets a dark background color
background(40, 40, 50)
-- Do your drawing here
fill(255, 128, 0, 255)
fontSize(40)
text("Hello World!", WIDTH/2, HEIGHT/2)
end
.@kingamer you are new to codea => there is a very good in-app documentation, you should consider reading it, because you’ll find there the answer to most of your questions, with examples.