For example, I want to set flag so that when I click a mouse down a screen schows up. I got that. But when I take my finger off of the button it disappears. Does anyone know how to set up a falg so that doesn't happen?
switch(id)
{
case BUTTON_ID_1:
if(state == UGP_BUTTON_DOWN) TeaPotFPS();
break;