> For the complete documentation index, see [llms.txt](https://andres-organization-9.gitbook.io/luxus-1-assets/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://andres-organization-9.gitbook.io/luxus-1-assets/animal-controller-states/push-and-pull/pushpull-script.md).

# PushPull Script

The PushPull script represents a state that allows a character to push and pull objects within the game environment. It provides functionality for detecting push/pull objects, handling movement, rotat

## Detection Settings

**detectionTag:** Unity tag used to identify push/pull objects.

**pushPullObjectTag:** Malbers tag used to identify push/pull objects.

**detectionRadius:** Radius for detecting push/pull objects.

**raycastPosition:** Position offset for the raycast used for detection.

**rayLength:** Length of the raycast used for detection.

**alignRotationSpeed:** Speed of rotation when aligning to push/pull objects.

**alignRotationDuration:** Duration for character align rotation.

## Movement Settings

**pushPullMoveSpeed:** Movement speed of the character and the push/pull object.

**pushPullRotationSpeed:** Rotation speed of the character and the push/pull object.

**enableRotateMode:** Set a string value from an input that you would like to use to enable the rotation mode on the push-pull object.

<div align="center"><figure><img src="https://187838865-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjoxzeUVDkRwW8AmzQBoq%2Fuploads%2FA7idpmbqMU3dMWx48Xds%2Fimage.png?alt=media&amp;token=cda5da2b-689d-442c-b94e-261f8fb70d1d" alt=""><figcaption></figcaption></figure></div>
