src/physics-sleepy.js
function (evt) {
    let state = this.data.holdState
    // api change in A-Frame v0.8.0
    if (evt.detail === state || evt.detail.state === state) {
      this.el.body.allowSleep = false
    }
  }
function (evt) {
    let state = this.data.holdState
    // api change in A-Frame v0.8.0
    if (evt.detail === state || evt.detail.state === state) {
      this.el.body.allowSleep = false
    }
  }
function ( evt ) { let state = this . data . holdState // api change in A-Frame v0.8.0 if ( evt . detail === state || evt . detail . state === state ) { this . el . body . allowSleep = false } }
disble the sleeping during interactions because sleep will break constraints
disble the sleeping during interactions because sleep will break constraints