# Changing ax on hitting walls

**URL:** <https://forum.makecode.com/t/changing-ax-on-hitting-walls/13265>\
**Category:** Help\
**Created:** [April 25, 2022, 5:14pm UTC](https://forum.makecode.com/t/changing-ax-on-hitting-walls/13265 "2022-04-25T17:14:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Owaise](https://avatars.discourse-cdn.com/v4/letter/o/51bf81/32.png) [@Owaise](https://forum.makecode.com/u/Owaise)\
**Post date:** [April 25, 2022, 5:14pm UTC](https://forum.makecode.com/t/changing-ax-on-hitting-walls/13265/1 "2022-04-25T17:14:58Z")

</div>

I am creating a soccer game, and I want my ball to change its accelaration-x to an 8 from a -8. The project is not completed yet and I am a beginner. Pls help.

[Flappy kick](https://makecode.com/_E4aA9dJtdJ3R)

---

<div class="post-metadata">

**Author:** ![Owaise](https://avatars.discourse-cdn.com/v4/letter/o/51bf81/32.png) [@Owaise](https://forum.makecode.com/u/Owaise)\
**Post date:** [April 25, 2022, 8:06pm UTC](https://forum.makecode.com/t/changing-ax-on-hitting-walls/13265/2 "2022-04-25T20:06:53Z")

</div>

Alright problem solved. Thanks for considering.
