Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// setZ.js
(function () {
  /*global adventurejs A*/
  "use strict";
  var p = adventurejs.Tangible.prototype;
  /**
   * Set this asset's global x position.
   * @memberOf adventurejs.Tangible
   * @method adventurejs.Tangible#setZ
   * @param {Float} value
   * @returns {Float}
   */
  p.setZ = function Tangible_setZ(value) {
    return (this.position.z = value);
  };
})();