# walkto

Walk to a position within the current region.

```snippet http-api-variables-OmJyUigTgO
```

```snippet http-api-input-basic-parameters-5FcVlaJbq0 action="walkto"
```

```snippet http-api-input-q5yvAagqsZ
coords | yes | position within the current region (ie. X/Y/Z)
```

```snippet http-api-output-JAwUcmg7i7
```

# Examples

Bot walks to a position within the current region:

```csharp
string sbBotName = "Test Resident";
string sbApiKey = "APIKEYHERE";
string sbBotApiToken = "BOTAPITOKENHERE";

string params = llDumpList2String([
  "action="  + "walkto",
  "apikey="  + llEscapeURL(sbApiKey),
  "botname=" + llEscapeURL(sbBotName),
  "secret="  + llEscapeURL(sbBotApiToken),
  "coords="  + llEscapeURL("206/36/94")
  ], "&");
 
llHTTPRequest("https://api.mysmartbots.com/api/bot.html",
  [HTTP_METHOD,"POST"], params);
```