Loading Leap…

Creating Flags

Create flags, set them to true or false from operations, and check them in conditions.

Creating Flags

Flags are yes/no facts about a player — whether they finished the tutorial, unlocked hard mode, or claimed a one-time offer. You manage them from the Flags tab of the Element Explorer on the Design tab.

Creating a Flag

In a workspace, click New Flag, name the flag in the Inspector — e.g. "Tutorial Done", with the slug tutorial_done — and click Save. A flag has no value to set: every flag starts false. Its fields are the ones every element shares, covered in Navigating Leap Studio.

Setting and Checking Flags

  • Setting a flag — add a Flag effect to an operation and choose whether it sets the flag to true or false. See Operations and Effects.
  • Checking a flag — pick the flag in a condition and choose is true or is false. See Conditions.

Next Steps

Continue to Creating Achievements to reward players for reaching goals.