Frame and I am trying to make a 3D element where the background(scene) is always fixed, so I don't have that 360deg viewport. I want that 3D element inside of scene to always be in the center of viewport and that it can rotate on drag for 360deg and always stays in the center of viewport
This is the code I have so far, but I can still drag around scene in 360deg and 3D element is not rotatable when dragged
<html>
<head>
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
</head>
<body>
<a-scene>
<!-- Static Blue Background -->
<a-sky color="#4CC3D9"></a-sky>
<!-- Rotatable 3D Element -->
<a-entity
geometry="primitive: box"
material="color: #FFC65D"
position="0 1.5 -3"
rotation="0 0 0"
drag-rotate-component
></a-entity>
</a-scene>
</body>
</html>