aframe-components

Utility Components

A selection of simple utility components, used in various examples

scale-on-hover

This component scales an entity by 20% on the mouseenter event, and shrinks it back to normal size on the mouseleave event

Used in various examples, including:

Code: scale-on-hover.js

Install:

hide-on-hover

This component hides an entity on the mouseenter event, and shows it again on the mouseleave event

Used in various examples, including:

Code: hide-on-hover.js

Install: