Update README.md

This commit is contained in:
MeowcaTheoRange 2022-08-09 12:12:07 -05:00 committed by GitHub
parent d6738bd98b
commit 7c1c4f7e0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,8 @@ A tween library for Kaboom that allows easy usage of tweens. It also comes with
- *`.onStart?: Function()` - What to run when the tween starts.* - *`.onStart?: Function()` - What to run when the tween starts.*
- *`.onUpdate?: onUpdate()` - What to run every time the tween updates.* - *`.onUpdate?: onUpdate()` - What to run every time the tween updates.*
- *`.onFinish?: onFinish()` - What to run when the tween ends.* - *`.onFinish?: onFinish()` - What to run when the tween ends.*
- `return` - `: Function(clean?)` - End the tween manually. - `return` - `: Function()` - End the tween manually.
- *`0` - `clean?: bool` - Whether the tween should end where it is (true) or end at `time.to` (false).*
`onFinish` - What to run when the tween ends. `onFinish` - What to run when the tween ends.