# PlayOnDualShock4(int)

> Enable playing of audio source though a specfic DUALSHOCK™4 controller.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.3/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AudioModule

> **Warning:**
>
> **Deprecated.** Use PlayOnGamepad instead

```csharp
public bool PlayOnDualShock4(int userId)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): UserId of the DUALSHOCK™4 controller to play the audio source through.

### Returns

| Type                                                          | Description                                                                         |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns TRUE if enabling audio output through this users controller was successful. |
