<a-cursor>

Note: This documentation is for the old 0.2.0 version of A-Frame. Check out the documentation for the current 1.6.0 version

The cursor primitive places a reticle or crosshair to add clicking and interactivity with the scene. It is an entity that prescribes the cursor component and a default ring-shaped geometry. The cursor is usually placed as a child of the camera.

Read the cursor component documentation for detailed information about how the cursor works and how to use the cursor.

Example

<a-scene>
<a-camera>
<a-cursor></a-cursor>
</a-camera>

<a-box></a-box>
</a-scene>

Attributes

Attribute Component Mapping Default Value
fuse cursor.fuse false
max-distance cursor.maxDistance 1000
timeout cursor.timeout 1500