# void Building::SetUITarget(Obj)

[Family: Building](/imperivm/en/CKS/familias/building/)

## Exact signature

```text
void Building::SetUITarget(Obj)
```

## Description

Building::SetUITarget writes the target object's 16-bit registry slot to Building [field], or 65535 when the target does not resolve.

## Parameters and return type

**Return type:** `void`

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

| Position | Type |
| --- | --- |
| 1 | `Obj` |

## Read and share

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

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