I'm trying to create an event in which the layout changes when the instance variables on some objects reach a certain point. Here is an image of what I currently have:
What I'm trying to achieve is when the health instance variable on these sprites reach less than or equal to zero, the layout changes. But for some reason the layout doesn't change. Is there something I'm missing?
Thank you for your time and for reading this.