The Decrement block allows you to decrease the value of a numeric variable by subtracting an integer. This is the combination of an Expression and Assignment block.

The block acts as a triggering of a substraction. For this reason, be careful when you set a value : a positive one will result in a substraction, whereas a negative one will result in an addition. You can also link a numeric variable to the value input.

Did this answer your question?