# Reset Unit Command Button Tooltip

Grammar — Reset unit’s key tooltip text
FlagsNative | Action | Internal

Sets the info text for the specified unit.

# Arguments

  • unit — Unit
  • string — Modification Key

Returns — void

native void UnitClearInfoButtonTooltip(
	unit inUnit,
	string key,
);

Category: Unit / Properties

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:5430

    // Automatic Variable Declarations
    // Implementation
    UnitClearInfoButtonTooltip(lp_unit, ((AbilityCommandGetAbility(lp_abilcmd)) + "," + IntToString(AbilityCommandGetCommand(lp_abilcmd))));
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:5436

    // Automatic Variable Declarations
    // Implementation
    UnitClearInfoButtonTooltip(lp_unit, (lp_button));
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:5442

    // Automatic Variable Declarations
    // Implementation
    UnitClearInfoButtonTooltip(lp_item, "@");
}