Documentation

UI::Button

Function

bool UI::Button(const string&in label, const vec2&in size = vec2 ( ))

Clickable button. Returns true if it was clicked.

string label

vec2 size

Returns bool