You are currently viewing the GMLscripts.com static mirror. Forum access and script submissions are not available through this mirror.

Invert GMLscripts.com

toggle

toggle(b)
Returns the given Boolean value negated.
COPY/// toggle(b)
//
//  Returns the given Boolean value negated.
//
//      b           Boolean value, real
//
/// GMLscripts.com/license
{
    return !argument0;
}

Contributors: OpticalLiam

GitHub: View · Commits · Blame · Raw