"And" is not working?
Hi, do anybody knows, what is wrong?
This is my code:
if event is InputEventScreenTouch and $Button.pressed != true:
This is to do that if the screen detects a touch (other than buttons) and no button is pressed at the same time, "a" is printed. The problem is that instead of not printing at all if the condition is not met, it prints either once (if I touch the button) or twice (if I don't touch the button). Which is just weird...
Anybody knows, what to do with? Thank you.