> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rebellapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# my.stopCompass

> Stop compass monitoring.

Use this API to stop compass monitoring.

## Parameters

| Property | Type | Required | Description |
| - | - | - | - |
| success | Function | No | Callback on success |
| fail | Function | No | Callback on failure. Receives `error` (Number, error code) and `errorMessage` (String) |
| complete | Function | No | Callback that always executes |

## Code Example

```javascript theme={null}
my.stopCompass({
  success() {
    console.log('Compass stopped');
  }
});
```

## Related APIs

> [card] [my.startCompass](https://docs.rebellapp.com/jsapi/device/compass/my.startCompass.md)
>
> Start the compass

> [card] [my.onCompassChange](https://docs.rebellapp.com/jsapi/device/compass/my.onCompassChange.md)
>
> Listen for compass data


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.