Forum Discussion

IsabelleALLERMO's avatar
IsabelleALLERMO
Community Member
3 years ago

Issue with disabled state

Hi everyone!

I need some help. I am trying to create a memory game.

  • I have a range of cards. Each card has 3 states (normal, selected and disabled) and the initial state is normal.
  • When the user selects 2 cards that do not belong to the same pair, a layer make them go back to the normal state.
  • When the user selects 2 cards that do belong to the same pair, a layer (should) make them change to the disabled state.

My variable and my layers show correctly, but my cards do not turn to the disabled state.

Why????

For a better understanding, I attached my file.

Thank you in advance for your kind answers. 

  • A disabled object still shows its Selected or Visited state colors. So what is happening is that your cards are disabled (you can't click them), but they still show the Selected state color. Change the cards to Normal before you disable them, and they will show the disabled color.