# Show/Hide World

GrammarisVisible|Show/Hide World for players
FlagsNative | Action

Shows or hides the 3D game world for the players specified.

# Arguments

Returns — void

native void UISetWorldVisible(
	playergroup players,
	bool isVisible,
);

Category: UI / Game UI

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L8494
UISetWorldVisible(PlayerGroupAll(), false)
// L8529
UISetWorldVisible(PlayerGroupAll(), true)
// L7843
UISetWorldVisible(PlayerGroupAll(), true)
// L7848
UISetWorldVisible(PlayerGroupAll(), true)
// L7853
UISetWorldVisible(PlayerGroupAll(), true)
// L7859
UISetWorldVisible(PlayerGroupAll(), true)
// L7864
UISetWorldVisible(PlayerGroupAll(), true)
// L12945
UISetWorldVisible(PlayerGroupAll(), false)
// L12958
UISetWorldVisible(PlayerGroupAll(), true)
// L13015
UISetWorldVisible(PlayerGroupAll(), true)
// L13025
UISetWorldVisible(PlayerGroupAll(), true)
// L13050
UISetWorldVisible(PlayerGroupAll(), true)
// L8494
UISetWorldVisible(PlayerGroupAll(), false)
// L8529
UISetWorldVisible(PlayerGroupAll(), true)
// L7843
UISetWorldVisible(PlayerGroupAll(), true)
// L7848
UISetWorldVisible(PlayerGroupAll(), true)
// L7853
UISetWorldVisible(PlayerGroupAll(), true)
// L7859
UISetWorldVisible(PlayerGroupAll(), true)
// L7864
UISetWorldVisible(PlayerGroupAll(), true)
// L12945
UISetWorldVisible(PlayerGroupAll(), false)
// L12958
UISetWorldVisible(PlayerGroupAll(), true)
// L13015
UISetWorldVisible(PlayerGroupAll(), true)
// L13025
UISetWorldVisible(PlayerGroupAll(), true)
// L13050
UISetWorldVisible(PlayerGroupAll(), true)

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L10035
UISetWorldVisible(PlayerGroupAll(), false)
// L10206
UISetWorldVisible(PlayerGroupAll(), false)
// L10888
UISetWorldVisible(PlayerGroupAll(), false)
// L11662
UISetWorldVisible(PlayerGroupAll(), false)
// L13314
UISetWorldVisible(PlayerGroupAll(), true)
// L13356
UISetWorldVisible(PlayerGroupAll(), true)
// L13471
UISetWorldVisible(PlayerGroupAll(), false)
// L13594
UISetWorldVisible(PlayerGroupAll(), true)
// L13736
UISetWorldVisible(PlayerGroupAll(), false)
// L13804
UISetWorldVisible(PlayerGroupAll(), true)

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L6776
UISetWorldVisible(PlayerGroupAll(), false)
// L5661
UISetWorldVisible(PlayerGroupAll(), false)
// L6195
UISetWorldVisible(PlayerGroupAll(), false)
// L6199
UISetWorldVisible(PlayerGroupAll(), true)
// L9029
UISetWorldVisible(PlayerGroupAll(), false)
// L6129
UISetWorldVisible(PlayerGroupAll(), false)
// L6776
UISetWorldVisible(PlayerGroupAll(), false)
// L5661
UISetWorldVisible(PlayerGroupAll(), false)
// L6195
UISetWorldVisible(PlayerGroupAll(), false)
// L6199
UISetWorldVisible(PlayerGroupAll(), true)
// L9029
UISetWorldVisible(PlayerGroupAll(), false)
// L6129
UISetWorldVisible(PlayerGroupAll(), false)

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L6598
UISetWorldVisible(PlayerGroupAll(), false)
// L6602
UISetWorldVisible(PlayerGroupAll(), true)
// L6621
UISetWorldVisible(PlayerGroupAll(), true)
// L8859
UISetWorldVisible(PlayerGroupAll(), true)
// L14101
UISetWorldVisible(PlayerGroupAll(), false)
// L14121
UISetWorldVisible(PlayerGroupAll(), false)
// L14165
UISetWorldVisible(PlayerGroupAll(), false)
// L14203
UISetWorldVisible(PlayerGroupAll(), false)
// L14969
UISetWorldVisible(PlayerGroupAll(), true)
// L14998
UISetWorldVisible(PlayerGroupAll(), false)

# campaigns/swarmstoryutil.sc2mod

Lib281DEC45.galaxy

// L295
UISetWorldVisible(PlayerGroupAll(), false)
// L2074
UISetWorldVisible(PlayerGroupAll(), false)
// L2090
UISetWorldVisible(PlayerGroupAll(), true)
// L2099
UISetWorldVisible(PlayerGroupAll(), false)
// L2113
UISetWorldVisible(PlayerGroupAll(), true)
// L3112
UISetWorldVisible(PlayerGroupAll(), true)
// L3321
UISetWorldVisible(PlayerGroupAll(), true)
// L3328
UISetWorldVisible(PlayerGroupAll(), true)
// L3335
UISetWorldVisible(PlayerGroupAll(), true)
// L3339
UISetWorldVisible(PlayerGroupAll(), true)

# campaigns/void.sc2campaign

MapScript.galaxy

// L6131
UISetWorldVisible(PlayerGroupAll(), false)
// L7047
UISetWorldVisible(PlayerGroupAll(), false)
// L1181
UISetWorldVisible(PlayerGroupAll(), true)
// L1218
UISetWorldVisible(PlayerGroupAll(), true)
// L1245
UISetWorldVisible(PlayerGroupAll(), true)
// L1272
UISetWorldVisible(PlayerGroupAll(), true)
// L9547
UISetWorldVisible(PlayerGroupAll(), false)
// L6131
UISetWorldVisible(PlayerGroupAll(), false)
// L7047
UISetWorldVisible(PlayerGroupAll(), false)
// L1181
UISetWorldVisible(PlayerGroupAll(), true)
// L1218
UISetWorldVisible(PlayerGroupAll(), true)
// L1245
UISetWorldVisible(PlayerGroupAll(), true)
// L1272
UISetWorldVisible(PlayerGroupAll(), true)
// L9547
UISetWorldVisible(PlayerGroupAll(), false)

# campaigns/voidstory.sc2campaign

VoidCampaignLib.galaxy

// L503
UISetWorldVisible(PlayerGroupAll(), true)
// L515
UISetWorldVisible(PlayerGroupAll(), false)
// L1287
UISetWorldVisible(PlayerGroupAll(), false)
// L3941
UISetWorldVisible(PlayerGroupAll(), false)
// L3945
UISetWorldVisible(PlayerGroupAll(), true)
// L3972
UISetWorldVisible(PlayerGroupAll(), false)
// L3976
UISetWorldVisible(PlayerGroupAll(), false)
// L4130
UISetWorldVisible(PlayerGroupAll(), false)
// L4146
UISetWorldVisible(PlayerGroupAll(), true)
// L9964
UISetWorldVisible(PlayerGroupAll(), true)

# campaigns/voidstory.sc2campaign

VoidCampaignMissionLib.galaxy

// L1454
UISetWorldVisible(PlayerGroupAll(), false)
// L1488
UISetWorldVisible(PlayerGroupAll(), false)
// L6817
UISetWorldVisible(PlayerGroupAll(), false)

# campaigns/voidstory.sc2campaign

VoidCampaignStoryLib.galaxy

// L1861
UISetWorldVisible(PlayerGroupAll(), true)
// L2341
UISetWorldVisible(PlayerGroupAll(), true)
// L4897
UISetWorldVisible(PlayerGroupAll(), true)
// L6035
UISetWorldVisible(PlayerGroupAll(), false)

# campaigns/voidstory.sc2campaign

VoidCampaignUILib.galaxy

// L1870
UISetWorldVisible(PlayerGroupAll(), false)
// L1877
UISetWorldVisible(PlayerGroupAll(), true)
// L2875
UISetWorldVisible(PlayerGroupAll(), false)