Why is the value of the button the opposite of what you'd expect?

后端 未结 0 1728
暗喜
暗喜 2020-11-29 17:05

If I try print(button.value), then I get 1 if I don\'t push the button and 0 if I push the button. If I try print(button.is_pressed) I get the same thing. I get true when I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题