Workshop › Pinball › Step 40 of 42
The launch lane is a third touch area: while a ball waits, holding a finger on the lane pulls the spring and lifting it launches, just like Space.
```js
if (state === 'ready' && x > 350) pressed.launch = true
else if (x < canvas.width / 2) pressed.left = true
if (pressed.launch) launch()
```pressed.launch; any other touch works a flipper as before.pointerdown, write the lane line above if (x < ... and turn that if into else if.pointerup, write if (pressed.launch) launch() as its first line.Skills: Keyboard and mouse input
← Two thumbs Tap to play again →