Update setTime.md #57

Merged
Damianu merged 1 commits from patch-1 into master 2023-05-05 00:46:11 +08:00

View File

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