:github_url: hide .. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the ProgressBar.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_ProgressBar: ProgressBar =========== **Inherits:** :ref:`Range` **<** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` General-purpose progress bar. Description ----------- General-purpose progress bar. Shows fill percentage from right to left. Properties ---------- +---------------------------+--------------------------------------------------------------------+------------------------------+ | :ref:`bool` | :ref:`percent_visible` | ``true`` | +---------------------------+--------------------------------------------------------------------+------------------------------+ | :ref:`int` | size_flags_vertical | ``0`` *(parent override)* | +---------------------------+--------------------------------------------------------------------+------------------------------+ | :ref:`float` | step | ``0.01`` *(parent override)* | +---------------------------+--------------------------------------------------------------------+------------------------------+ Theme Properties ---------------- +---------------------------------+-------------------+------------------------------+ | :ref:`StyleBox` | bg | | +---------------------------------+-------------------+------------------------------+ | :ref:`StyleBox` | fg | | +---------------------------------+-------------------+------------------------------+ | :ref:`Font` | font | | +---------------------------------+-------------------+------------------------------+ | :ref:`Color` | font_color | Color( 0.94, 0.94, 0.94, 1 ) | +---------------------------------+-------------------+------------------------------+ | :ref:`Color` | font_color_shadow | Color( 0, 0, 0, 1 ) | +---------------------------------+-------------------+------------------------------+ Property Descriptions --------------------- .. _class_ProgressBar_property_percent_visible: - :ref:`bool` **percent_visible** +-----------+----------------------------+ | *Default* | ``true`` | +-----------+----------------------------+ | *Setter* | set_percent_visible(value) | +-----------+----------------------------+ | *Getter* | is_percent_visible() | +-----------+----------------------------+ If ``true``, the fill percentage is displayed on the bar. .. |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.)`