Factorio.com|Forums|Wiki|Mod Portal|API Docs Prototype|Runtime|Auxiliary

# Factorio Prototype Docs Version 2.0.7

## GameControllerVibrationData :: struct

## Properties

- default
- sorted

low_frequency_vibration_intensity optional | :: float | Vibration intensity must be between 0 and 1.
Vibration intensity must be between 0 and 1.
high_frequency_vibration_intensity optional | :: float | Vibration intensity must be between 0 and 1.
Vibration intensity must be between 0 and 1.
duration optional | :: uint32 | Duration in milliseconds.
Duration in milliseconds.
play_for optional | :: PlayFor |

duration optional | :: uint32 | Duration in milliseconds.
Duration in milliseconds.
high_frequency_vibration_intensity optional | :: float | Vibration intensity must be between 0 and 1.
Vibration intensity must be between 0 and 1.
low_frequency_vibration_intensity optional | :: float | Vibration intensity must be between 0 and 1.
Vibration intensity must be between 0 and 1.
play_for optional | :: PlayFor |

## Properties

### low_frequency_vibration_intensity :: float optional

Default: `0`

Vibration intensity must be between 0 and 1.

### high_frequency_vibration_intensity :: float optional

Default: `0`

Vibration intensity must be between 0 and 1.

### duration :: uint32 optional

Default: `0`

Duration in milliseconds.

### play_for :: PlayFor optional

Default: `"character_actions"`

#### PlayFor :: union

Defines when controller vibrations should be played.

#### Union members

`"character_actions"` | Play the vibration only if it was caused by the player. For example when shooting a gun, vibration will play when the character shoots but not when a turret shoots.
`"everything"` | Always play the vibration. Useful for example for explosions.

Type used in

- Sound::game_controller_vibration_data
- SoundPrototype::game_controller_vibration_data