<a-cursor>
Note: This documentation is for the old 0.7.0 version of A-Frame. Check out the documentation for the current 1.6.0 version
The cursor primitive is a reticle that allows for clicking and basic interactivity with a scene on devices that do not have a hand controller. The default appearance is a ring 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> |
Attributes
Attribute | Component Mapping | Default Value |
---|---|---|
fuse | cursor.fuse | false |
fuse-timeout | cursor.fuseTimeout | 1500 |
max-distance | cursor.maxDistance | 1000 |