diff --git a/libraries/script-engine/src/Quat.h b/libraries/script-engine/src/Quat.h
index a0c1378b23..23e8e3b896 100644
--- a/libraries/script-engine/src/Quat.h
+++ b/libraries/script-engine/src/Quat.h
@@ -318,7 +318,7 @@ public slots:
* @example
Animate between one rotation and another.
* var dt = amountOfTimeThatHasPassed;
* var mixFactor = amountOfTimeThatHasPassed / TIME_TO_COMPLETE;
- * if (mixFactor) > 1) {
+ * if (mixFactor > 1) {
* mixFactor = 1;
* }
* var newRotation = Quat.mix(startRotation, endRotation, mixFactor);