---
agentTools:
  projectIndex: https://docs.rainway.com/llms.txt
---

# Node.js SDK - MouseRelative

[Home](https://docs.rainway.com/reference/about) > [@rainway/native](nodejs-sdk) > [MouseRelative](./nodejs-sdk-mouserelative)

## MouseRelative class

An input report describing relative mouse position input.

<b>Signature:</b>

```typescript
export declare class MouseRelative 
```

## Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `MouseRelative` class.

## Properties

| Property                            | Modifiers | Type   | Description |
| ----------------------------------- | --------- | ------ | ----------- |
| [dx](./nodejs-sdk-mouserelative-dx) |           | number |             |
| [dy](./nodejs-sdk-mouserelative-dy) |           | number |             |