Skip to contents

Label button control, returns true when clicked.

Usage

gui_label_button(bounds, text)

Arguments

bounds

A rectangle.

text

A string.

Value

An integer

Examples

if (FALSE) {
gui_label_button(rectangle(10, 10, 200, 100), "Hello")
}