Skip to main content

The "vngen_is_option_hovered" Function

Syntax#

vngen_is_option_hovered(id);
ArgumentTypeDescription
idreal/stringThe option ID to check

Description#

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

Example#

if (vngen_is_option_hovered("choice_yes")) {
effect_create_above(ef_ellipse, mouse_x, mouse_y, 2, c_white);
}