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

# Node.js SDK - InputEvent\_2.(constructor)

[Home](https://docs.rainway.com/reference/about) > [@rainway/native](nodejs-sdk) > [InputEvent\_2](./nodejs-sdk-inputevent-2) > [(constructor)](./nodejs-sdk-inputevent-2-constructor-)

## InputEvent\_2.(constructor)

Constructs a new instance of the `InputEvent` class

<b>Signature:</b>

```typescript
constructor(native: RainwayInputEvent);
```

## Parameters

| Parameter | Type                                                | Description |
| --------- | --------------------------------------------------- | ----------- |
| native    | [RainwayInputEvent](./nodejs-sdk-rainwayinputevent) |             |