summaryrefslogtreecommitdiff
path: root/doc/classes/SceneTreeTimer.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/SceneTreeTimer.xml')
-rw-r--r--doc/classes/SceneTreeTimer.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/SceneTreeTimer.xml b/doc/classes/SceneTreeTimer.xml
index a33f875be2..5678833752 100644
--- a/doc/classes/SceneTreeTimer.xml
+++ b/doc/classes/SceneTreeTimer.xml
@@ -8,9 +8,9 @@
As opposed to [Timer], it does not require the instantiation of a node. Commonly used to create a one-shot delay timer as in the following example:
[codeblock]
func some_function():
- print("start")
- yield(get_tree().create_timer(1.0), "timeout")
- print("end")
+ print("Timer started.")
+ yield(get_tree().create_timer(1.0), "timeout")
+ print("Timer ended.")
[/codeblock]
</description>
<tutorials>