mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
classref: Sync with current master branch (d34594179)
This commit is contained in:
@@ -859,7 +859,7 @@ Returns a random value from the target array.
|
||||
|
||||
::
|
||||
|
||||
var array: Array\ :ref:`int<class_int>` = [1, 2, 3, 4]
|
||||
var array: Array[int] = [1, 2, 3, 4]
|
||||
print(array.pick_random()) # Prints either of the four numbers.
|
||||
|
||||
.. rst-class:: classref-item-separator
|
||||
|
||||
Reference in New Issue
Block a user