こういうパターンもありんす a$="on":b$="off"  :  : if button(2)==16 then swap a$,b$