Discord
Login
Community
DARK THEME

timer

Come posso creare un timer che aumenta di 1 ogni secondo?

Make sure you have selected "microScript 2.0" as project language, then:

init = function()
  timer = 0

  every 1 second do
    timer += 1
  end
end

Thanks Gilles

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community