diff --git a/README.md b/README.md index d7b1b22..9b4d532 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ different objects. ```js AFRAME.registerComponent('rotate-on-tick', { tick: function (t, dt) { - this.object3D.rotation.x += .001; + this.el.object3D.rotation.x += .001; } });