# Bounce on wall block has a bug

**URL:** https://forum.makecode.com/t/bounce-on-wall-block-has-a-bug/22109
**Category:** Arcade
**Tags:** game
**Created:** [August 28, 2023, 4:34pm UTC](https://forum.makecode.com/t/bounce-on-wall-block-has-a-bug/22109 "2023-08-28T16:34:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Gavin-Williams](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gavin-williams/32/10134_2.png) [@Gavin-Williams](https://forum.makecode.com/u/Gavin-Williams)
#### Post date: [August 28, 2023, 4:34pm UTC](https://forum.makecode.com/t/bounce-on-wall-block-has-a-bug/22109/1 "2023-08-28T16:34:18Z")

</div>

The block

> set bounce on wall on/off

has a bug - the screen is zero-based, but on the right side of the screen, the sprite can be moved 1 pixel off screen. So it looks like an off-by-one bug to me.
