Skip to main content

The "vngen_button_clear" Function

Syntax#

vngen_button_clear();
ArgumentTypeDescription
N/AN/ANo arguments

Description#

Manually clears button results (not data) to prevent repeat execution of button-based triggers. As this functionality is also handled by vngen_get_button, this script should not typically need to be run except in special cases.

This script is not an action.

Example#

if (vngen_get_button(false) == "btn") {
myvar += 1;
vngen_button_clear();
}