# Ship Unit::GetShip()

[Family: Unit](/imperivm/en/CKS/familias/unit/)

## Exact signature

```text
Ship Unit::GetShip()
```

## Description

Follows the Unit holder object's linked registry handle and returns that object's handle or an invalid Ship handle.

## Parameters and return type

**Return type:** `Ship`

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

This signature takes no additional arguments.

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-3e045c378224d3.md)
- [JSON](/imperivm/CKS/api/entries/api-3e045c378224d3?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
