Interaction
From a script
ts
import { InteractionComponent } from "mmpx";
const interaction = this.entity.TryGetComponent(InteractionComponent);Full API: InteractionComponent.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
Hover EnabledhoverEnabled | boolean | true | |
Swallow EventsswallowEvents | boolean | false | |
Cursorcursor | string | — |