Hello! I am currently trying to create the effect of my character flashing after it has taken damage by using some sort of loop that will execute the code while a boolean remains true. I tried to use a “While Loop” node but all I get is an infinite loop error, and I can’t seem to work a way around it.
Is anybody able to help me find a solution? Thanks!
My code: