.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/Timer.xml. .. _class_Timer: Timer ===== **Inherits:** :ref:`Node` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +--------------------------------------------------------------+----------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`autostart` | ``false`` | +--------------------------------------------------------------+----------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`one_shot` | ``false`` | +--------------------------------------------------------------+----------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`paused` | | +--------------------------------------------------------------+----------------------------------------------------------------+-----------+ | :ref:`TimerProcessCallback` | :ref:`process_callback` | ``1`` | +--------------------------------------------------------------+----------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`time_left` | | +--------------------------------------------------------------+----------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`wait_time` | ``1.0`` | +--------------------------------------------------------------+----------------------------------------------------------------+-----------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-------------------------+------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_stopped` **(** **)** |const| | +-------------------------+------------------------------------------------------------------------------------------+ | void | :ref:`start` **(** :ref:`float` time_sec=-1 **)** | +-------------------------+------------------------------------------------------------------------------------------+ | void | :ref:`stop` **(** **)** | +-------------------------+------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Signals ------- .. _class_Timer_signal_timeout: .. rst-class:: classref-signal **timeout** **(** **)** .. container:: contribute There is currently no description for this signal. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Enumerations ------------ .. _enum_Timer_TimerProcessCallback: .. rst-class:: classref-enumeration enum **TimerProcessCallback**: .. _class_Timer_constant_TIMER_PROCESS_PHYSICS: .. rst-class:: classref-enumeration-constant :ref:`TimerProcessCallback` **TIMER_PROCESS_PHYSICS** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_Timer_constant_TIMER_PROCESS_IDLE: .. rst-class:: classref-enumeration-constant :ref:`TimerProcessCallback` **TIMER_PROCESS_IDLE** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_Timer_property_autostart: .. rst-class:: classref-property :ref:`bool` **autostart** = ``false`` .. rst-class:: classref-property-setget - void **set_autostart** **(** :ref:`bool` value **)** - :ref:`bool` **has_autostart** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Timer_property_one_shot: .. rst-class:: classref-property :ref:`bool` **one_shot** = ``false`` .. rst-class:: classref-property-setget - void **set_one_shot** **(** :ref:`bool` value **)** - :ref:`bool` **is_one_shot** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Timer_property_paused: .. rst-class:: classref-property :ref:`bool` **paused** .. rst-class:: classref-property-setget - void **set_paused** **(** :ref:`bool` value **)** - :ref:`bool` **is_paused** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Timer_property_process_callback: .. rst-class:: classref-property :ref:`TimerProcessCallback` **process_callback** = ``1`` .. rst-class:: classref-property-setget - void **set_timer_process_callback** **(** :ref:`TimerProcessCallback` value **)** - :ref:`TimerProcessCallback` **get_timer_process_callback** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Timer_property_time_left: .. rst-class:: classref-property :ref:`float` **time_left** .. rst-class:: classref-property-setget - :ref:`float` **get_time_left** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Timer_property_wait_time: .. rst-class:: classref-property :ref:`float` **wait_time** = ``1.0`` .. rst-class:: classref-property-setget - void **set_wait_time** **(** :ref:`float` value **)** - :ref:`float` **get_wait_time** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_Timer_method_is_stopped: .. rst-class:: classref-method :ref:`bool` **is_stopped** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Timer_method_start: .. rst-class:: classref-method void **start** **(** :ref:`float` time_sec=-1 **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_Timer_method_stop: .. rst-class:: classref-method void **stop** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`