# Increment or Decrement Local Variable

> Increment or decrement a numeric local variable by a value.

- ID: `increment_local_variable`
- Type: Block
- Category: [Utilities](https://inventor.bot/docs/reference/blocks/utilities.md)

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `variable` | yes | The local variable to modify. | a local variable, e.g. `count` |
| `operation` | yes | Whether to increment or decrement. | `"+ (increment)"`, `"- (decrement)"` |
| `value` | yes | The amount to increment or decrement by. | e.g. `"1"` |

**Example**

```go
var count = 0

count++
```