Skip to content

Skip Loop

SkipLoop skips remaining actions based on the value of a bool variable and starts the next iteration of the loop.

Same as continue in traditional programming.

Parameters

Parameter Description
Variable The bool variable to check.
Test If Check if True or False.

LoopSkip Variants

PlayMaker also includes typed SkipLoop variants that work the same way, but use a condition test for other variable types:

  • SkipLoop (CheckFloat) checks a float value against a condition.
  • SkipLoop (CheckInt) checks an integer value against a condition.
  • SkipLoop (CheckString) checks a string value against a condition.
  • SkipLoop (CheckGameObject) checks a GameObject value against a condition.
  • SkipLoop (CheckVariable) checks any supported variable type against a condition.

These variants also skip the rest of the current loop iteration and continue with the next one when the condition evaluates true.