# WeaponSteer record struct

> The mouse's movement over one command, in screen pixels, for IWeaponHolder.Steer. The physics gun turns a held prop a twentieth of a degree a pixel.

Namespace `EvilEngine.Api.Weapons`, assembly `EvilEngine.Api`. Engine commit 4ff877b1.

```csharp
public readonly record struct WeaponSteer
```

The mouse's movement over one command, in screen pixels, for [IWeaponHolder.Steer](/docs/api/iweaponholder#steer). The physics gun turns a held prop a twentieth of a degree a pixel.

## Members

### WeaponSteer (constructor)

```csharp
public WeaponSteer(double X, double Y)
```

Makes one from its two distances.

### X (property)

```csharp
public double X { get; init; }
```

How far the mouse moved right, negative for left.

### Y (property)

```csharp
public double Y { get; init; }
```

How far the mouse moved down, negative for up.

### None (property)

```csharp
public static WeaponSteer None { get; }
```

No movement, both 0.

### Moved (property)

```csharp
public bool Moved { get; }
```

Whether the mouse moved at all.
