Button to subtract value from a variable only when above 0 #485
Unanswered
GeekyBlinder147
asked this question in
Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a button working which when pressed adds 1 , if another switch variable is 1 it subtracts 1. How can I add a condition that if the value is <1 then don't subtract. I would need nested if statements to do this and I cannot see a way to do it?
Beta Was this translation helpful? Give feedback.
All reactions