diff --git a/libraries/script-engine/src/ScriptEngine.h b/libraries/script-engine/src/ScriptEngine.h
index c6b1135fc6..e58609f01d 100644
--- a/libraries/script-engine/src/ScriptEngine.h
+++ b/libraries/script-engine/src/ScriptEngine.h
@@ -196,8 +196,8 @@ public:
/**jsdoc
* @function Script.registerGetterSetter
* @param {string} name - Name.
- * @param {object} getter - Getter.
- * @param {object} setter - Setter.
+ * @param {function} getter - Getter.
+ * @param {function} setter - Setter.
* @param {string} [parent=""] - Parent.
* @deprecated This function is deprecated and will be removed.
*/
@@ -208,7 +208,7 @@ public:
/**jsdoc
* @function Script.registerFunction
* @param {string} name - Name.
- * @param {object} function - Function.
+ * @param {function} function - Function.
* @param {number} [numArguments=-1] - Number of arguments.
* @deprecated This function is deprecated and will be removed.
*/
@@ -219,7 +219,7 @@ public:
* @function Script.registerFunction
* @param {string} parent - Parent.
* @param {string} name - Name.
- * @param {object} function - Function.
+ * @param {function} function - Function.
* @param {number} [numArguments=-1] - Number of arguments.
* @deprecated This function is deprecated and will be removed.
*/
@@ -286,20 +286,20 @@ public:
/**jsdoc
* Checks whether the application was compiled as a debug build.
* @function Script.isDebugMode
- * @returns {boolean} true
if the software was compiled as a debug build, false
if it was
+ * @returns {boolean} true
if the application was compiled as a debug build, false
if it was
* compiled as a release build.
*/
Q_INVOKABLE bool isDebugMode() const;
/**jsdoc
- * Checks whether the script content is a client entity script.
+ * Checks whether the script is running as a client entity script.
* @function Script.isEntityClientScript
* @returns {boolean} true
if the script is running as a client entity script, false
if it isn't.
*/
Q_INVOKABLE bool isEntityClientScript() const { return _context == ENTITY_CLIENT_SCRIPT; }
/**jsdoc
- * Checks whether the script context is a server entity script.
+ * Checks whether the script is running as a server entity script.
* @function Script.isEntityServerScript
* @returns {boolean} true
if the script is running as a server entity script, false
if it isn't.
*/
@@ -317,7 +317,7 @@ public:
// NOTE - these are intended to be public interfaces available to scripts
/**jsdoc
- * Adds a function to the list of functions called upon the occurrence of an entity event on a particular entity.
+ * Adds a function to the list of functions called when an entity event occurs on a particular entity.
* @function Script.addEventHandler
* @param {Uuid} entityID - The ID of the entity.
* @param {Script.EntityEvent} eventName - The name of the entity event.
@@ -340,7 +340,7 @@ public:
Q_INVOKABLE void addEventHandler(const EntityItemID& entityID, const QString& eventName, QScriptValue handler);
/**jsdoc
- * Removes a function from the list of functions called upon the occurrence of an entity event on a particular entity.
+ * Removes a function from the list of functions called when an entity event occurs on a particular entity.
* @function Script.removeEventHandler
* @param {Uuid} entityID - The ID of the entity.
* @param {Script.EntityEvent} eventName - The name of the entity event.
@@ -412,7 +412,7 @@ public:
* Provides access to methods or objects provided in an external JavaScript or JSON file.
* See {@link https://docs.highfidelity.com/script/js-tips.html} for further details.
* @function Script.require
- * @param {string} module - The module to use. May be a JavaScript file or the name of system model such as
+ * @param {string} module - The module to use. May be a JavaScript file or the name of a system module such as
* "sppUi"
.
*/
Q_INVOKABLE QScriptValue require(const QString& moduleId);
@@ -435,7 +435,7 @@ public:
* @function Script.setInterval
* @param {function} function - The function to call. This can be either the name of a function or an in-line definition.
* @param {number} interval - The interval at which to call the function, in ms.
- * @returns {object} A handle to the interval timer. This can be used by {@link Script.clearInterval}.
+ * @returns {object} A handle to the interval timer. This can be used in {@link Script.clearInterval}.
* @example