stephanieolivie
2 years agoCommunity Member
Affectation de variable sur la sélection d'une image
Bonjour,
J'ai initialisé une variable X à false.
Quand je clique sur mon image je veux que ma variable passe à true.
J'ai crée un déclencheur en m'appuyant sur l'état de mon image "selectionnée" et cela fonctionne.
Par contre je veux que quand je déselectionne l'image, ma variable repasse à faux. J'ai fait un 2eme déclencheur sur l'état "normal" de mon image mais cela ne fonctionne pas. Ma variable reste à vrai.
Comment puis-je faire ?
Je vous remercie.