Forum Discussion
GreggLauer-82c2
9 months agoCommunity Member
Tracking the order of buttons being pushed
I have 4 buttons that must be clicked in a specific non-linear order to be correct. A message indicating correct or incorrect is displayed. How do I track the order of buttons being clicked using tr...
SamHill
9 months agoSuper Hero
I think this logic would correct the issue.
Set variable step1 = 4
if step1 is equal to 0 (zero)
AND step2 is not equal to 4
AND step3 is not equal to 4
AND step4 is not equal to 4
Set variable step2 = 4
if step2 is equal to 0 (zero)
AND step1 is not equal to 4
AND step3 is not equal to 4
AND step4 is not equal to 4
Set variable step3 = 4
if step3 is equal to 0 (zero)
AND step1 is not equal to 4
AND step2 is not equal to 4
AND step4 is not equal to 4
Set variable step4 = 4
if step4 is equal to 0 (zero)
AND step1 is not equal to 4
AND step2 is not equal to 4
AND step3 is not equal to 4