> For the complete documentation index, see [llms.txt](https://stellardocs.bulkgames.us/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stellardocs.bulkgames.us/scheduler/new.md).

# new

Create a new Scheduler object

```lua
Scheduler.new(loopTime)
```

Example usage:

```lua
local Scheduler = Stellar.Get("Scheduler")
local counterScheduler = Scheduler.new(5)

counterScheduler:Tick(function()
    print("test")
end)

counterScheduler:Start()
```
