clickable_delete

This function must be used to remove a clickable icon previously created with clickable_add() from the game window.

 

Syntax:

clickable_delete(index);

ArgumentTypeDescription
indexClickable IDIndex of the clickable icon to remove.

 

Returns:

N/A

 

Example:

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.