Skip to content

Commit

Permalink
Document Timer autostart in tool scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
arkology committed Nov 2, 2024
1 parent c6c464c commit 4d908b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/Timer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<members>
<member name="autostart" type="bool" setter="set_autostart" getter="has_autostart" default="false">
If [code]true[/code], the timer will start immediately when it enters the scene tree.
[b]Note:[/b] After the timer enters the tree, this property is automatically set to [code]false[/code].
[b]Note:[/b] After the timer enters the tree, this property is automatically set to [code]false[/code]. If the timer will be the part of the scene currently opened in the editor (for example, adding and running timer from [code]@tool[/code] script), this property will not set to [code]false[/code] and the timer will not start immediately when it enters the scene tree.
</member>
<member name="one_shot" type="bool" setter="set_one_shot" getter="is_one_shot" default="false">
If [code]true[/code], the timer will stop after reaching the end. Otherwise, as by default, the timer will automatically restart.
Expand Down

0 comments on commit 4d908b5

Please sign in to comment.