diff --git a/tools/spatialSensor/index.js b/tools/spatialSensor/index.js index 365c9e2..667b07d 100644 --- a/tools/spatialSensor/index.js +++ b/tools/spatialSensor/index.js @@ -197,7 +197,7 @@ function updateSensorPosition() { coordEqual(oldPos.z, newPos.z)) { return; } - spatialInterface.analyticsSetSensor(newPos); + spatialInterface.analyticsSetSensor({position: newPos}); languageInterface.updateSummarizedState('position', newPos); languageInterface.sendSummarizedStateToParent(); oldPos = newPos;