Forum Discussion
jyles-ce6c5c62-
4 years agoCommunity Member
problème avec les variables
Bonjour,
Je n'arrive pas à changer la valeur d'une variable vrai / faux en fonction de l'état "zone de dépôt correcte" ou "zone de dépôt incorrecte" d'un objet (afin de pouvoir utiliser ultérieure...
MariaCS
4 years agoStaff
Bonjour, Jy!
Thank you for sharing your .story file!
I noticed you had two triggers in your Correct layer that had conditions:
However, since you are already in the Correct layer, it means those conditions have been achieved, so there's no need to include them.
Once you remove the conditions and have the following triggers:
Set Variable1 to True when the timeline starts on this layer;
and
Change the state of Rectangle 3 to Nouvel état when the timeline starts on this layer;
then your project works as expected.
Let me know if this works!