Check if the host is pressing the button/key, "BUTTON_A", "BUTTON_B", "K", etc...
Example:
while( self ButtonPressed( "BUTTON_A" ) ) ...