mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
minor typo fix
This commit is contained in:
@@ -634,7 +634,7 @@ choose one of the three animation types:
|
||||
|
||||
First, we get the list of animation names from the AnimatedSprite's ``frames``
|
||||
property. This returns an Array containing all three animation names:
|
||||
``["walk", "swim", "fly]``.
|
||||
``["walk", "swim", "fly"]``.
|
||||
|
||||
We then need to pick a random number between ``0`` and ``2`` to select one of these
|
||||
names from the list (array indices start at ``0``). ``randi() % n`` selects a
|
||||
|
||||
Reference in New Issue
Block a user