summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorTecelli Akıntuğ <tecelli.e.a@gmail.com>2021-05-26 12:49:53 +0300
committerRémi Verschelde <rverschelde@gmail.com>2023-02-16 22:34:10 +0100
commit1ba05b4b3ac2014894c0de6d6c70253451b88a5f (patch)
tree8115b6baa9952171e9248bfa6b38760e831a8262 /doc/classes
parent15a97a2e8462ff76fe2eb44094f61320065b7dc8 (diff)
Fix AnimatedTexture inconsistency when setting frame
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/AnimatedTexture.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/AnimatedTexture.xml b/doc/classes/AnimatedTexture.xml
index 57a7f86901..454b9c1c32 100644
--- a/doc/classes/AnimatedTexture.xml
+++ b/doc/classes/AnimatedTexture.xml
@@ -46,7 +46,7 @@
</methods>
<members>
<member name="current_frame" type="int" setter="set_current_frame" getter="get_current_frame">
- Sets the currently visible frame of the texture.
+ Sets the currently visible frame of the texture. Setting this frame while playing resets the current frame time, so the newly selected frame plays for its whole configured frame duration.
</member>
<member name="frames" type="int" setter="set_frames" getter="get_frames" default="1">
Number of frames to use in the animation. While you can create the frames independently with [method set_frame_texture], you need to set this value for the animation to take new frames into account. The maximum number of frames is [constant MAX_FRAMES].