---
title: Button
brief: A GUI box node with an image texture and a script to make it act as a button.
scripts: button.gui_script
---

![button](button.png)

The "gui" game object contains a GUI component stored in the file *button.gui*. The GUI contains
the setup with the "button" box node for the button image and the "text" text node for the button label text.

*button.gui* has a script attached to it, called *button.gui_script*, which contains the button logic.

![button gui](button_gui.png)
