# Setting motors inverted

**URL:** https://forum.makecode.com/t/setting-motors-inverted/886
**Category:** EV3
**Created:** [December 12, 2019, 5:28pm UTC](https://forum.makecode.com/t/setting-motors-inverted/886 "2019-12-12T17:28:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jeff](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jeff](https://forum.makecode.com/u/Jeff)
#### Post date: [December 12, 2019, 5:28pm UTC](https://forum.makecode.com/t/setting-motors-inverted/886/1 "2019-12-12T17:28:24Z")

</div>

We noticed that if you call motors.largeBC.setInverted(true);  
This does not invert the motors.largeB/C.angle() values. Seems like it would be a good idea if the setInverted also inverted the value so it counts up instead of down. We solved this with a Math.abs(motors… when doing the comparison.

---

<div class="post-metadata">

### Author: ![THEb0nny](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theb0nny/32/3500_2.png) [@THEb0nny](https://forum.makecode.com/u/THEb0nny)
#### Post date: [September 1, 2026, 8:33pm UTC](https://forum.makecode.com/t/setting-motors-inverted/886/2 "2026-09-01T20:33:40Z")

</div>

I don’t think this issue is relevant. Check the MakeCode fork. If it reoccurs, let me know.

> **[BrickCode for EV3](https://beta.brickcode.org/)**
>
> Community-maintained fork of the MakeCode Blocks / JavaScript code editor for the LEGO® MINDSTORMS® Education EV3.
