From 9f47e123d2b4d4da556984a4166da88743eb821c Mon Sep 17 00:00:00 2001 From: David Leal <halfpacho@gmail.com> Date: Fri, 22 Sep 2023 10:41:33 -0600 Subject: [PATCH] `animaition` -> `animation` (#13827) Also changed `range` to `frame_range`, --- doc/lua_api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/lua_api.md b/doc/lua_api.md index e93cddba9..17b6f0a1e 100644 --- a/doc/lua_api.md +++ b/doc/lua_api.md @@ -7496,8 +7496,8 @@ child will follow movement and rotation of that bone. * `frame_blend`: number, default: `0.0` * `frame_loop`: If `true`, animation will loop. If false, it will play once * default: `true` -* `get_animation()`: returns current animation parameters set by `set_animaition`: - * `range`, `frame_speed`, `frame_blend`, `frame_loop`. +* `get_animation()`: returns current animation parameters set by `set_animation`: + * `frame_range`, `frame_speed`, `frame_blend`, `frame_loop`. * `set_animation_frame_speed(frame_speed)` * Sets the frame speed of the object's animation * Unlike `set_animation`, this will not restart the animation