files/en-us/web/api/gamepadhapticactuator/effects/index.md
{{APIRef("Gamepad API")}}{{SeeCompatTable}}
The effects read-only property of the {{domxref("GamepadHapticActuator")}} interface returns an array of enumerated values representing the different haptic effects that the actuator supports.
An array representing the supported haptic effects. Possible included values are:
"dual-rumble"
"trigger-rumble"
[!NOTE] If an effect is not listed that is known to be supported by the hardware, it may be that the browser does not support playing effects of that type.
const gamepad = navigator.getGamepads()[0];
// Logs "dual-rumble" or "trigger-rumble"
console.log(gamepad.hapticActuators[0].effects[0]);
{{Specifications}}
{{Compat}}