I am trying to move an a-frame sphere using jquery attr().
I used this in the script tag(the a-sphere is already there with the id sphere.):
var x = '0 5 0';
$("#sphere").attr('position', x);
It doesn't work. Is there a different way to change it or do I have a mistake?