[**SixL client API**](../../README.md)

***

[SixL client API](../../README.md) / [world-entities](../README.md) / CheckpointMp

# Interface: CheckpointMp

A checkpoint: a ring in the world with a radius, one that the server created for this client or one a script made
with `mp.checkpoints.new`.

## Remarks

Drawn by SixL's overlay: the ring, its radius, colour and the way it points (its direction, or towards its destination).
The properties of a checkpoint the server made are the server's: assigning them changes nothing.

## Example

```ts
mp.checkpoints.forEach((cp) => mp.console.logInfo(String(cp.radius)));
```

## Properties

### position

> **position**: [`Vector3`](../../common/interfaces/Vector3.md)

The checkpoint's position, in metres.

#### Example

```ts
const where = checkpoint.position;
```

***

### radius

> **radius**: `number`

The checkpoint's radius, in metres.

#### Example

```ts
const size = checkpoint.radius;
```

***

### visible

> **visible**: `boolean`

Whether the checkpoint is shown. A hidden checkpoint is not drawn.

#### Example

```ts
if (checkpoint.visible) { }
```

## Methods

### destroy()

> **destroy**(): `void`

Removes a checkpoint a script made. Does nothing for a checkpoint the server made.

#### Returns

`void`

#### Example

```ts
checkpoint.destroy();
```
