summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2018-07-17 14:54:06 +0200
committerGitHub <noreply@github.com>2018-07-17 14:54:06 +0200
commitb64bf118f11aaf083b4dcad790e8acdaa809c158 (patch)
treeac12a0161459173cb024043bc2e10b0f5cae184a /doc
parent8b03df24e45241b802dddb6e8423eebee6d25b27 (diff)
parent296af5276f920c89d313dfa6d921fb4d94a1a40e (diff)
Merge pull request #19087 from danvalho/master
SpriteFrames: expose method to get array containing animation names
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/SpriteFrames.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/SpriteFrames.xml b/doc/classes/SpriteFrames.xml
index 91129b5850..68373ebc4f 100644
--- a/doc/classes/SpriteFrames.xml
+++ b/doc/classes/SpriteFrames.xml
@@ -127,6 +127,13 @@
Changes the animation's name to [code]newname[/code].
</description>
</method>
+ <method name="get_animation_names">
+ <return type="PoolStringArray">
+ </return>
+ <description>
+ Returns an array containing the names associated to each animation. Values are placed in alphabetical order.
+ </description>
+ </method>
<method name="set_animation_loop">
<return type="void">
</return>