:github_url: hide .. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/3.6/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/3.6/doc/classes/Panel.xml. .. _class_Panel: Panel ===== **Inherits:** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` Provides an opaque background for :ref:`Control` children. .. rst-class:: classref-introduction-group Description ----------- Panel is a :ref:`Control` that displays an opaque background. It's commonly used as a parent and container for other types of :ref:`Control` nodes. .. rst-class:: classref-introduction-group Tutorials --------- - `2D Role Playing Game Demo `__ - `2D Finite State Machine Demo `__ - `3D Inverse Kinematics Demo `__ .. rst-class:: classref-reftable-group Theme Properties ---------------- .. table:: :widths: auto +---------------------------------+---------------------------------------------+ | :ref:`StyleBox` | :ref:`panel` | +---------------------------------+---------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Theme Property Descriptions --------------------------- .. _class_Panel_theme_style_panel: .. rst-class:: classref-themeproperty :ref:`StyleBox` **panel** The style of this **Panel**. .. |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.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`