# Defined Locations

You can define named locations and then easily teleport players there via Molang. To add a location, use the command /lazynpcs addLocation \<name>. It'll take your current location as the location to save.&#x20;

You can teleport to a location using a command to test things, by doing /lazynpcs teleport \<name>

You can see & delete defined locations via /lazynpcs gui

You can teleport players to defined locations easily with Molang:

* **q.player.teleport\_to\_location("name")** - returns true if the location was found and teleport successful, false if a location with that name couldn't be found
