Articles on: Blocks Creator
This article is also available in:

🟦 Increment

🟦 Increment


The Increment block allows you to increase the value of a numeric variable by a defined amount. It is particularly useful for managing scores, counters or resources in interactive experiences.


This block works like the opposite of the Decrement block and fits naturally into flows requiring digital progression (games, simulations, etc.).


πŸ“₯ Entries


  • variable (Number Variable): Numeric variable whose value will be increased.
  • value (Number): Amount to add to the existing variable (default: 1).


πŸ“€ Outings


  • out (Flow): Activates progression to the next blocks once the increment is complete, without visual feedback for the user.


πŸ’‘ Example of use


Scenario: Counting gold coins in a game


  1. The user picks up a gold coin in the game.
  2. A trigger detects the collision with the part.
  3. The Incrementation block is called with:
  • variable: Or_Collected (Number variable previously created)
  • value: 1
  1. The value of Collected_Gold changes from 5 to 6 (if it was 5 before).
  2. The flow continues to a block displaying the new gold total on the screen.


βš™οΈ Technical Details

  • Prerequisites: The target variable must be of type Number and initialized before use.
  • Behavior: The increment is instantaneous and silent (no automatic visual feedback).
  • Error handling: If the variable does not exist or is not of the correct type, the block produces no effect.

Updated on: 04/03/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!