Skip to main content
Question

Multiple if statements on a single control do not work correctly

  • February 19, 2025
  • 0 replies
  • 19 views

Josh22

I am building out a 2-level navigation sidebar. I have a button that does this:

IF A and B {

Do X

}

IF A and C {

Do Y

}

The button stops working entirely unless I remove one of the statements. Using the ELSE statement is entirely useless as it breaks the next IF statement. What is the point of prototyping using conditional statements if when using more than one it breaks?

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings