Docs 1.6
Accidentally uploaded outdated 1.6 docs
This commit is contained in:
12
docs/docs1_6/objects/Timer/cancel.md
Normal file
12
docs/docs1_6/objects/Timer/cancel.md
Normal file
@@ -0,0 +1,12 @@
|
||||
## cancel
|
||||
Cancels the timer
|
||||
|
||||
#### Returns:
|
||||
1. `object` The object
|
||||
|
||||
```lua
|
||||
local mainFrame = basalt.createFrame()
|
||||
local aTimer = mainFrame:addTimer()
|
||||
aTimer:setTime(2):start()
|
||||
aTimer:cancel()
|
||||
```
|
||||
Reference in New Issue
Block a user