# GripTarget

{% hint style="info" %}
This component was added in realvirtual **6.3**.
{% endhint %}

## Overview

GripTarget marks a precise placement position for the [Grip](https://doc.realvirtual.io/components-and-scripts/picking-and-placing-mus/grip) component's Auto-Place system. When a Grip releases an MU near a GripTarget, the MU aligns to the target's position and rotation and becomes a child of the GripTarget.

GripTarget is a **passive marker** — it does not detect MUs on its own. The Grip component finds it using an OverlapSphere search within the configured **Grip Target Search Radius**.

## Properties

<figure><img src="https://260262196-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpYxFg97YnJX96UzNNTSd%2Fuploads%2Fgit-blob-b235886b256fc9e29e9da57c676a3d4ead9c47d7%2Fgriptarget-inspector.png?alt=media" alt=""><figcaption><p>GripTarget Inspector</p></figcaption></figure>

**Align Position** (boolean) Snaps the MU position to the GripTarget's world position on placement. Default: `true`.

**Align Rotation** (boolean) Snaps the MU rotation to the GripTarget's rotation on placement. Default: `false`.

**Occupied By** (MU, read-only) Shows which MU is currently placed at this target. Empty means the target is free and available for placement.

## Usage

1. Add a **GripTarget** component to a GameObject at the desired placement position
2. Position and rotate the GameObject to define where and how the MU should land
3. Configure the [Grip](https://doc.realvirtual.io/components-and-scripts/picking-and-placing-mus/grip) component with **Place Mode = Auto**
4. Set **Grip Target Search Radius** on the Grip to control the detection range (default: 500 mm)
5. When the Grip places an MU within range, it automatically snaps to the nearest free GripTarget

The MU becomes a **child** of the GripTarget transform, so if the GripTarget moves (e.g., on a conveyor or robot), the placed MU moves with it.

## GripTarget vs Fixer

Both components handle MU placement, but serve different purposes:

|                       | GripTarget                                   | Fixer                                                              |
| --------------------- | -------------------------------------------- | ------------------------------------------------------------------ |
| **Purpose**           | Passive placement slot ("parking spot")      | Active station lock ("parking gate with lock")                     |
| **Needs Grip?**       | Yes, always — only works with Grip component | No — works standalone                                              |
| **MU arrives how?**   | Grip places it                               | Conveyor, AGV, or robot delivers it                                |
| **Controlled by**     | Grip component logic                         | PLC signals (FixerFix/FixerRelease) or auto-mode                   |
| **Detection**         | None — found by Grip's OverlapSphere         | Own BoxCollider trigger or Raycast                                 |
| **MU parenting**      | MU becomes child of GripTarget               | MU becomes child of Fixer (restored to previous parent on release) |
| **Multi-MU**          | One MU per target                            | Multiple MUs via MUSFixed list                                     |
| **Handover blocking** | No                                           | Yes — prevents double-fixing between stations                      |
| **Tag filtering**     | No                                           | Yes — only fix specific part types                                 |

**Use GripTarget** when a Grip (robot gripper) places MUs at predefined positions. **Use** [**Fixer**](https://doc.realvirtual.io/components-and-scripts/picking-and-placing-mus/fixer) when MUs arrive on their own (conveyor) and need to be stopped/held by PLC control.

## See Also

* [Grip](https://doc.realvirtual.io/components-and-scripts/picking-and-placing-mus/grip)
* [Fixer](https://doc.realvirtual.io/components-and-scripts/picking-and-placing-mus/fixer)
