Skip to main content

The "vngen_is_button_hovered" Function

Syntax#

vngen_is_button_hovered(id);
ArgumentTypeDescription
idreal/stringThe button ID to check

Description#

Checks whether or not the specified button is hovered (either by mouse/touch or vngen_do_button_nav) and returns true or false.

Example#

if (vngen_is_button_hovered("save")) {
effect_create_above(ef_ellipse, mouse_x, mouse_y, 2, c_white);
}