# For some reason my player sprite has inverted controls some how!

**URL:** https://forum.makecode.com/t/for-some-reason-my-player-sprite-has-inverted-controls-some-how/45253
**Category:** Help
**Created:** [August 4, 2026, 8:46pm UTC](https://forum.makecode.com/t/for-some-reason-my-player-sprite-has-inverted-controls-some-how/45253 "2026-08-04T20:46:24Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![1978monkeynutze](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/1978monkeynutze/32/33979_2.png) [@1978monkeynutze](https://forum.makecode.com/u/1978monkeynutze)
#### Post date: [August 4, 2026, 8:46pm UTC](https://forum.makecode.com/t/for-some-reason-my-player-sprite-has-inverted-controls-some-how/45253/1 "2026-08-04T20:46:24Z")

</div>

hey @richard something weird is happening in my game that I’ve secretly been working on… for some reason when the accalaration variable goes up the controls get inverted how do I fix also how can I make the accselaration not go up so fast?

> **[gear run](https://arcade.makecode.com/S88481-19238-73905-41063)**
>
> GEAR RUN! get a bike win races solve side quest and much much more!

please help 🙃

---

<div class="post-metadata">

### Author: ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)
#### Post date: [August 5, 2026, 2:48am UTC](https://forum.makecode.com/t/for-some-reason-my-player-sprite-has-inverted-controls-some-how/45253/2 "2026-08-05T02:48:07Z")

</div>

I think your doing something that’s making acceleration get below 0. Id recommend start by finding every function that has acceleration in it (entry function that either sets it to somthing, or changes it). There could also be a chance it’s undefined but that should be a different behavior.

---

<div class="post-metadata">

### Author: ![YamJam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yamjam/32/29681_2.png) [@YamJam](https://forum.makecode.com/u/YamJam)
#### Post date: [August 5, 2026, 2:53am UTC](https://forum.makecode.com/t/for-some-reason-my-player-sprite-has-inverted-controls-some-how/45253/3 "2026-08-05T02:53:10Z")

</div>

Here you go!

> **[gear run](https://arcade.makecode.com/76748-57544-07925-02323)**
>
> GEAR RUN! get a bike win races solve side quest and much much more!

@1978monkeynutze  
The problem was here:

 ![Screenshot 2026-08-04 183743](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/3/b/3b287ee1bc47d114bcc5bd6c050be50d9fc58928.png)  
Whenever you weren’t moving, the acceleration would go down by 5 constantly, every frame.  
So it would eventually reach the negatives, resulting in inverted movement!

 ![Screenshot 2026-08-04 183856](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/f/f/ffdd3b6150f11039fdf8026154b7e429604f092f.png)  
I simply added some checks to make sure that the bike doesn’t reach the negatives, or go to fast!

You’re welcome!

---

<div class="post-metadata">

### Author: ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)
#### Post date: [August 5, 2026, 4:58pm UTC](https://forum.makecode.com/t/for-some-reason-my-player-sprite-has-inverted-controls-some-how/45253/4 "2026-08-05T16:58:20Z")

</div>

that still had a few issues (acceleration can still go before 0), this works though:

 ![Screenshot_20260805-101046](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/d/a/da046cf590255deb9b1d18e3d64c495da424258f.png)

Also i fixed a glitch

---

<div class="post-metadata">

### Author: ![1978monkeynutze](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/1978monkeynutze/32/33979_2.png) [@1978monkeynutze](https://forum.makecode.com/u/1978monkeynutze)
#### Post date: [August 5, 2026, 5:18pm UTC](https://forum.makecode.com/t/for-some-reason-my-player-sprite-has-inverted-controls-some-how/45253/5 "2026-08-05T17:18:01Z")

</div>

for some reason that’s stopping the movement umm idk why…

---

<div class="post-metadata">

### Author: ![1978monkeynutze](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/1978monkeynutze/32/33979_2.png) [@1978monkeynutze](https://forum.makecode.com/u/1978monkeynutze)
#### Post date: [August 5, 2026, 5:18pm UTC](https://forum.makecode.com/t/for-some-reason-my-player-sprite-has-inverted-controls-some-how/45253/6 "2026-08-05T17:18:03Z")

</div>

what do y’all think about the game? should I make a topic for it?

---

<div class="post-metadata">

### Author: ![1978monkeynutze](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/1978monkeynutze/32/33979_2.png) [@1978monkeynutze](https://forum.makecode.com/u/1978monkeynutze)
#### Post date: [August 5, 2026, 5:18pm UTC](https://forum.makecode.com/t/for-some-reason-my-player-sprite-has-inverted-controls-some-how/45253/7 "2026-08-05T17:18:52Z")

</div>

thanks

---

<div class="post-metadata">

### Author: ![YamJam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yamjam/32/29681_2.png) [@YamJam](https://forum.makecode.com/u/YamJam)
#### Post date: [August 6, 2026, 3:34am UTC](https://forum.makecode.com/t/for-some-reason-my-player-sprite-has-inverted-controls-some-how/45253/8 "2026-08-06T03:34:07Z")

</div>

Oh sorry, listen to @VoxelMaster64

I didn’t playtest my changes 😭

---

<div class="post-metadata">

### Author: ![1978monkeynutze](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/1978monkeynutze/32/33979_2.png) [@1978monkeynutze](https://forum.makecode.com/u/1978monkeynutze)
#### Post date: [August 6, 2026, 3:56pm UTC](https://forum.makecode.com/t/for-some-reason-my-player-sprite-has-inverted-controls-some-how/45253/9 "2026-08-06T15:56:08Z")

</div>

its completely fine!
