diff --git a/src/extensions/scratch3_boost/index.js b/src/extensions/scratch3_boost/index.js index f36744740..8c7d71830 100644 --- a/src/extensions/scratch3_boost/index.js +++ b/src/extensions/scratch3_boost/index.js @@ -1888,7 +1888,11 @@ class Scratch3BoostBlocks { return false; } if (portID && this._peripheral.motor(portID)) { - return MathUtil.wrapClamp(this._peripheral.motor(portID).position, 0, 360); + let val = MathUtil.wrapClamp(this._peripheral.motor(portID).position, 0, 360); + if (portID === BoostPort.A) { + val *= -1; + } + return val; } return 0; }