# Enable/Disable Planet Panel Dismiss Button

Grammarenable|Enable/Disable the dismiss button for playerGroup
FlagsNative | Action

Enables or disables the dismiss button on the planet panel for the specified players.

# Arguments

Returns — void

native void PlanetPanelSetDismissButtonEnabled(
	playergroup players,
	bool inEnabled,
);

Category: Story / Planet Panel / Planet Panel

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L25111
PlanetPanelSetDismissButtonEnabled(PlayerGroupAll(), false)
// L25120
PlanetPanelSetDismissButtonEnabled(PlayerGroupAll(), true)
// L25111
PlanetPanelSetDismissButtonEnabled(PlayerGroupAll(), false)
// L25120
PlanetPanelSetDismissButtonEnabled(PlayerGroupAll(), true)