# Clear BattleNet Button Offset

Grammar — Clear the BattleNet Button Position for players
FlagsNative | Action

Clear the custom positioning of the BattleNet Button. This will cause it to return to the default location

# Arguments

  • playergroup — Players

Returns — void

native void UIClearBattleNetButtonOffset(
	playergroup inPlayers,
);

Category: UI / Game UI

# Examples

# campaigns/swarmstoryutil.sc2mod

Lib281DEC45.galaxy

// L3165
UIClearBattleNetButtonOffset(PlayerGroupAll())
// L3224
UIClearBattleNetButtonOffset(PlayerGroupAll())
// L3231
UIClearBattleNetButtonOffset(PlayerGroupAll())
// L3238
UIClearBattleNetButtonOffset(PlayerGroupAll())

# campaigns/voidstory.sc2campaign

VoidCampaignStoryLib.galaxy

// L6243
UIClearBattleNetButtonOffset(PlayerGroupAll())
// L6266
UIClearBattleNetButtonOffset(PlayerGroupAll())

# mods/missionpacks/novacampaign.sc2mod

LibNCST.galaxy

// L5123
UIClearBattleNetButtonOffset(PlayerGroupAll())
// L5146
UIClearBattleNetButtonOffset(PlayerGroupAll())