# Blips

## `CreateBlip(data)`

Creates a blip for a specified entity or set of coordinates. Returns a blip handler object.

* data<mark style="color:red;">\*</mark> (table) - Table with blip data with the following entries
  * entity (entity) - entity to attach the blip to (cannot be used if `coords` is specified)
  * coords (vector3) - coordinates to place the blip (cannot be used if `entity` is specified)
  * colour (number) - colour ID for the blip ([lookup colours](https://docs.fivem.net/docs/game-references/blips/#blip-colors))
  * sprite (number) - sprite ID for the blip ([lookup sprites](https://docs.fivem.net/docs/game-references/blips/#blips))
  * name (string) - name of the blip which is shown in the map

<mark style="color:red;">\*</mark> = required arguments

{% hint style="info" %}
Exactly one of `entity` or `coords` must be specified for the method to work correctly
{% endhint %}

## Blip Handler Object Methods

### `blip.remove()`

Deletes the blip. Takes no parameters

Reference: `client/cl_bliphandler.lua`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.callumg.net/client/blips.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
