Creating a character and making it lose lives


Part of my student's project is to create a game where a character loses lives when it is bumped by another character. I can't seem to create a loop/variable (???) to make this happen. Can anyone show me a picture of the code for this? Thank you


These are the three rules you need to do this.



Wait.. Teachers use the forum?


Btw, welcome to the forum! It is a really helpful place to get answers!


The pictures are great, but there's one little part missing.
If you add "When Lives = 0", then it will automatically perform the rule. Add a wait, then another check once if. This will be like a little guard :wink:


Everybody else beat me to it! :stuck_out_tongue:


I am a bit late... Next topic....