Workshop › Endless Runner › Step 2 of 19
The runner is a box standing on the ground. Its position and size live in an object, so they can change later.
```js
const STAND_H = 44
let runner = { x: 50, y: GROUND - STAND_H, w: 40, h: STAND_H }
ctx.fillStyle = '#334155'
ctx.fillRect(runner.x, runner.y, runner.w, runner.h)
```STAND_H is the runner's height when standing.y is the top of the box: GROUND - STAND_H puts its feet exactly on the ground.GROUND, write STAND_H and, after an empty line, runner.Skills: Game states
← The ground Draw again and again →