> For the complete documentation index, see [llms.txt](https://cowsinss-organization.gitbook.io/fps-engine-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cowsinss-organization.gitbook.io/fps-engine-documentation/content/03.-content/03.5-pick-up-system/interactmanager.md).

# InteractManager

Allows the interaction between interactable objects and the player. To set up custom Interactable objects or learning more about them, please check [Interactable.cs](/fps-engine-documentation/content/03.-content/03.5-pick-up-system/interactable.md)

This component can be found on the Player object.

### REFERENCES

* <mark style="color:purple;">mask:</mark> Bitmask that defines the interactable layer
* <mark style="color:purple;">weaponGenericPickeable</mark>: Attach the generic weapon pickeable object here
* <mark style="color:purple;">attachmentsGenericPickeable</mark>: Attach the generic attachment pickeable object here

### INTERACTION

* <mark style="color:purple;">detectInteractionDistance:</mark> Distance from the player to detect interactable objects
* <mark style="color:purple;">progressRequiredToInteract:</mark> How much time player has to hold the interact button in order to successfully interact
* <mark style="color:purple;">interactInterval:</mark> Adjust the interaction interval, the lower, the faster you will be able to interact
* <mark style="color:purple;">Duplicate Weapon Adds Bullets:</mark> If true, when picking up a weapon that already exists in your inventory, you will add bullets instead of the weapon. ( Introduced in 1.3 )
* <mark style="color:purple;">canDrop:</mark> Enables and disables the Player´s ability to drop the weapons
  * <mark style="color:purple;">droppingDistance:</mark> Distance from the player where the pickeable will be instantiated
* <mark style="color:purple;">canInspect:</mark> If true, the player will be able to inspect the current weapon.
  * <mark style="color:purple;">realtimeAttachmentsCustomizationOnly:</mark> Allows the player to equip and unequip attachments while inspecting. It also displays a custom UI for that.
    * <mark style="color:purple;">displayCurrentAttachmentsOnly:</mark> When inspecting, display current attachments only. Otherwise you will be able to see all compatible attachments through the UI.

### EVENTS

* <mark style="color:purple;">events</mark>

***

### InteractManagerEditor.cs

Renders the InteractManagerREFERENCES Custom Inspector
