catchable
parameters
| Parameter | Default Value | Type | Description |
|---|---|---|---|
type | string | 'item' |
example
catchable({ type: 'item'}),function catchable(p) { const param = { type: 'item', ...p, }; return { holdItemType: param.type, holdingParentId: null, id: 'catchable', add() { this.tag('interactive'); }, };}