win8_livetile_tile_clear();
Returns: N/A
This function can be used to clear any notifications that may be
showing currently on the Live Tile for your game. If you have
queuing enabled, the next notification in the queue will be
shown.
if !global.Pause
{
win8_livetile_tile_clear();
}
The above code will check a global variable and if it returns false it will clear the Live Tile of the game.