diff --git a/scripts/system/libraries/WebTablet.js b/scripts/system/libraries/WebTablet.js index 5bea6d9923..27ab0000e6 100644 --- a/scripts/system/libraries/WebTablet.js +++ b/scripts/system/libraries/WebTablet.js @@ -97,6 +97,7 @@ WebTablet = function (url, width, dpi, hand, clientOnly) { this.homeButtonEntity = Entities.addEntity({ name: "homeButton", type: "Sphere", + collisionless: true, localPosition: {x: 0, y: HOME_BUTTON_Y_OFFSET, z: 0}, dimensions: {x: 0.05, y: 0.05, z: 0.05}, parentID: this.tabletEntityID, @@ -171,3 +172,8 @@ WebTablet.unpickle = function (string) { tablet.__proto__ = WebTablet.prototype; return tablet; }; + +-WebTablet.prototype.getPosition = function () { + return Overlays.getProperty(this.webOverlayID, "position"); + } + \ No newline at end of file