Skip to main content

The "vngen_is_log_button_hovered" Function

Syntax#

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

Description#

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

Example#

if (vngen_is_log_button_hovered("up")) {
effect_create_above(ef_ellipse, mouse_x, mouse_y, 2, c_white);
}