at first I apologise for very stupid begginer question. I am trying to create lifes of player and show them in the hud (I am basically show smaller version of player's airplane as one life. Basically player sprite has variable "life" starting value is 3. So at beginning there is three of them.
then in events I have something like this:
and then in another condition I have something like if player collides with enemy substract 1 from "life variable.
It works but I think this sollution is kinda sketchy and not right in sense of programming sense?
I suppose I should use for or foreach loop somehow? Thank you