# aframe-click-drag-component A Click & Drag component for [A-Frame](https://aframe.io). Entities with the `click-drag` component can be click and dragged around the 3D scene. Even works whle the camera is moving! _Note: entities are not positioned correctly when the camera is rotated._ ### Installation #### Browser Use directly from the unpkg CDN: ```html ``` #### npm Install via npm: ```bash npm install aframe-click-drag-component ``` Then register and use. ```javascript import aframe from 'aframe'; import registerClickDrag from 'aframe-click-drag-component'; registerClickDrag(aframe); ```