---
title: Mock Location Command
description: "# Definition Mock location command is a feature in Rtila that allows you to test location-based applications or websites by simulating a location different from the device's actual location. This is done by sending false location data to the browsers…"
url: "https://legacy.rtila.com/docs/mock-location-command/"
updated: "2024-11-01"
category: Official Commands
---

# Mock Location Command

# Definition

Mock location command is a feature in Rtila that allows you to test location-based applications or websites by simulating a location different from the device's actual location. This is done by sending false location data to the browsers that override the device's GPS signal and set a new location for the device.

# Add Mock Location Command

To use the " Mock Location Command " you can add it by searching "Mock Location" In the Action interface and then adding it.

![](https://legacy.rtila.com/wp-content/uploads/2024/11/Mock-location.png)
Add Mock Location Command

# Configure Mock Location Command

The Mock Location command has three possible ways of configurations that can be configured by the user

![](https://legacy.rtila.com/wp-content/uploads/2023/03/MLW1-1.png)

# Custom Location Configuration

1. Set the name of the mock location
2. Choose the Custom type from the list
3. Enter the Latitude of the mock location you want to use
4. Enter the Longitude of the mock location you want to use

![](https://legacy.rtila.com/wp-content/uploads/2023/03/MLW2-1.png)

# Random Location Configuration

1. Set the name of the mock location
2. Choose the Random Locatopn type from the list

![](https://legacy.rtila.com/wp-content/uploads/2023/03/MLW3.png)

# Country Location Configuration

1. Set the name of the mock location
2. Choose the Country you wants to use
