Change variable every other loop

Hello,

Get to know the Modulus (Modulo) operator:

Example:

You can look up frameCount in the references; this can be any counter in your code.

:)