# How to implement attachments

## Overview

To modify the current recoil animation, **PRAS** has the Input Scale feature using these methods:

<figure><img src="https://3651122009-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmWlhCRI70uShLRiOey3T%2Fuploads%2FONnChPSmiaEpMSgWqprq%2Fimage.png?alt=media&#x26;token=015fe425-65cd-47bf-9d32-95ecd43da4ad" alt="" width="437"><figcaption><p>Input Scale methods.</p></figcaption></figure>

* **Scale Input**: applies an Input Scale.
* **Unscale Input**: reverts an Input Scale.
* **Reset Input Scale**: resets any applied modifiers.

**Input Scale** is a struct that includes these properties:

<figure><img src="https://3651122009-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmWlhCRI70uShLRiOey3T%2Fuploads%2Fbe7QHNIcM9MlybwhiO1c%2Fimage.png?alt=media&#x26;token=1d6e8b3e-0656-430d-a4d8-347c0b8ddcfd" alt="" width="348"><figcaption><p>Input Scale properties.</p></figcaption></figure>

## Use-case

When attachment is equipped, make sure to update the current Input Scale:

<figure><img src="https://3651122009-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmWlhCRI70uShLRiOey3T%2Fuploads%2FnSh2cWXb85lRyJ24NYkN%2Fimage.png?alt=media&#x26;token=485fd882-3569-44ff-92f1-f7d357622a4a" alt="" width="422"><figcaption><p>How to scale recoil.</p></figcaption></figure>

To revert changes of the previous attachment:

<figure><img src="https://3651122009-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmWlhCRI70uShLRiOey3T%2Fuploads%2Fnt7YFCLhUpqAPD7EtkJQ%2Fimage.png?alt=media&#x26;token=06d3d633-5722-4016-af3a-698abfed3e96" alt="" width="423"><figcaption><p>How to revert recoil scale.</p></figcaption></figure>
