Well I have these three conditionals
if
nextLayer on click
or
keyboard on return released
then ....
addItem on click
or
keyboard on return released
then...
addPayment on click
or
keyboard on return released
then..
my program is kind of like a website. The first one works fine, but when I get to the second one and press enter, it seems to go through the 3rd and 1st one too. I tried to do this:
if
canClick1 = true
and
(nextLayer on click
or
keyboard on return released)
then ....
canClick2 = true
and
addItem on click
or
keyboard on return released
then...
canClick3 = true
and
addPayment on click
or
keyboard on return released
then..
I thought this would work because maybe all of them were getting called at once because of the or statement, but this didn't work and the problem was still there.