Test() end function Test() button=1 AddVirtualButton(button,20,20,20) //GetVirtualButtonExists //GetVirtualButtonPressed //GetVirtualButtonReleased //GetVirtualButtonState //SetButtonScreenPosition //SetVirtualButtonActive SetVirtualButtonAlpha(button,192) SetVirtualButtonColor(button,255,255,0) //SetVirtualButtonImageDown //SetVirtualButtonImageUp //SetVirtualButtonPosition //SetVirtualButtonSize SetVirtualButtonText(button,"Click Me") SetVirtualButtonVisible(button,1) do if GetVirtualButtonPressed(button)=1 exit endif sync() loop DeleteVirtualButton(button) endfunction