# 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.sc2mod

NativeLib.galaxy

// L5430
UnitClearInfoButtonTooltip(lp_unit, ((AbilityCommandGetAbility(lp_abilcmd)) + "," + IntToString(AbilityCommandGetCommand(lp_abilcmd))))
// L5436
UnitClearInfoButtonTooltip(lp_unit, (lp_button))
// L5442
UnitClearInfoButtonTooltip(lp_item, "@")