This function must be used to remove a clickable icon previously created with clickable_add() from the game window.
clickable_delete(index);
Argument | Type | Description |
---|---|---|
index | Clickable ID | Index of the clickable icon to remove. |
N/A
if (clickable_exists(global.Help_Icon))
{
clickable_delete(global.Help_Icon);
}
The above code removes the clickable icon indexed in the global variable "Help_Icon" from the game window, if it exists.