in line a frame animation
snippet in html

in line a frame animation

user5602

<a-sphere animation="property: rotation; from: 0 0 0; to: 270 0 90;"
          animation__2="property: position; from: 0 0 0; to: 2 -2 8;"
          animation__color="property: material.color; from: #fff; to: #555;"></a-sphere>