Update setTime.md

This commit is contained in:
Damianu
2023-05-04 18:43:29 +02:00
committed by GitHub
parent a97254ddf7
commit 5b47bd3daa

View File

@@ -1,9 +1,9 @@
## setTime
sets the time the timer should wait after calling your function
sets the time the timer should wait before calling your function
#### Parameters:
1. `number` the time to delay
2. `number` how often it should be repeated -1 is infinite
1. `number` the time to delay between repetitions
2. `number` how many times it should be repeated -1 is infinite
#### Returns:
1. `object` The object
@@ -15,4 +15,4 @@ aTimer:setTime(2)
```
```xml
<timer time="2" repeat="1"/>
```
```