# Sandbox.Doo.ForBlock

Run a block of code a certain number of times, with a loop variable.

- Kind: class
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.Doo.Block](/api/Sandbox.Doo.Block)

## Constructors

- [`ForBlock`](/api/Sandbox.Doo.ForBlock/.ctor)

## Properties

- [`EndValue`](/api/Sandbox.Doo.ForBlock/EndValue): The upper bound of the loop (exclusive).
- [`JumpValue`](/api/Sandbox.Doo.ForBlock/JumpValue): The amount to increment the loop counter each iteration.
- [`StartValue`](/api/Sandbox.Doo.ForBlock/StartValue): The initial value of the loop counter.
- [`VariableName`](/api/Sandbox.Doo.ForBlock/VariableName): The name of the loop counter variable.

## Methods

- [`CollectArguments`](/api/Sandbox.Doo.ForBlock/CollectArguments)
- [`GetNodeString`](/api/Sandbox.Doo.ForBlock/GetNodeString)
- [`HasBody`](/api/Sandbox.Doo.ForBlock/HasBody)
- [`Reset`](/api/Sandbox.Doo.ForBlock/Reset)
