# Interactions

Using "Interactions" you can modify what is gonna happen when a player interacts with the key. For example you can make it  so when a player right clicks the key, it opens the crate without having to interact with the Spawned Crate visual, or left click can open a preview & so on...

```yaml
interaction:
  RIGHT: # Interaction Type
    type: "open-crate" # Action type
  SHIFT_RIGHT:
    type: "open-crate-instant"
  LEFT:
    type: "preview-crate"
```

### Interaction Types

* LEFT
* SHIFT\_LEFT
* RIGHT
* SHIFT\_RIGHT
* SWAP (F Key)
* SHIFT\_SWAP
* INVENTORY\_SWAP (F Key while in opened inventory including player's inventory)
* DROP (Q Key)
* INVENTORY\_DROP (Q Key while in opened inventory including player's inventory)

### Action Types

* open-crate
* open-crate-instant
* preview-crate
* destroy-crate
* execute-actions&#x20;

  Arguments:

  * actions: List of actions ([Check all actions here](https://mrlarkyy.gitbook.io/aquaticcrates-v3/configuring/rewards/actions))
