Make an object flash

Hi everyone, for my current project i need to make someone flash every second and i was just wondering if this is even possible?
If so could i please have an example.
Thanks

@Klupa56 This flashes a sprite for 1/10 of a second every second.


function setup()
    count=0
end

function draw()
    background(40, 40, 50)
    count = count + 1
    if count>60 then    -- reset count every second
        count=0
    elseif count<6 then    -- show sprite for 1/10 second
        sprite("Planet Cute:Character Boy",WIDTH/2,HEIGHT/2)
    end
end

Thx a lot