The event-set Component

Learn to invoke events and manipulate target entities via the event-set component.

The event-set component simplifies event-based interactions. Previously, we saw that we created components that listened to events such as a click or intersection events. Then, we attached these components to entities to detect interaction events. This process can be made easier by using the event-set component provided by the following JavaScript file:

Get hands-on with 1200+ tech skills courses.