# Teleporter

Okay, place an object, double-click on it, and insert this code into the init field. This object where you insert this code is where the player will be able to select teleportation:

> **Arguments:**
>
> `#FB8B24` = Color of Text \
> `Name` = Action Name \
> `fob1` = Designates the location where the player will teleport.&#x20;
>
> {% code overflow="wrap" %}
>
> ```sqf
> this addAction ["<t color='#FB8B24'>Name</t>",{player setPosATL (getPosATL fob1)}];
> ```
>
> {% endcode %}

> Place a `Land_HelipadEmpty_F` and name it `fob1`. Now, the player will teleport to that exact position if they choose to do so. The object where you insert this code is where the player will be able to select teleportation.
