---
title: "setModeVibrationWithStartPosition(_:amplitude:frequency:)"
framework: gamecontroller
role: symbol
role_heading: Instance Method
path: "gamecontroller/gcdualsenseadaptivetrigger/setmodevibrationwithstartposition(_:amplitude:frequency:)"
---

# setModeVibrationWithStartPosition(_:amplitude:frequency:)

Sets the mode to vibrate when the user depresses the trigger at the start position or at a greater value.

## Declaration

```swift
func setModeVibrationWithStartPosition(_ startPosition: Float, amplitude: Float, frequency: Float)
```

## Parameters

- `startPosition`: The effect’s start position. A value between 0 and 1 , where 0 is the minimum and 1 is the maximum trigger depression.
- `amplitude`: The amplitude of the vibration effect. A value between 0 and 1, where 0 is the minimum and 1 is the maximum amplitude.
- `frequency`: The frequency of the vibration effect, which is a value between 0 and 1, where 0 is the minimum and 1 is the maximum frequency.

## See Also

### Configuring the trigger

- [setModeFeedbackWithStartPosition(_:resistiveStrength:)](gamecontroller/gcdualsenseadaptivetrigger/setmodefeedbackwithstartposition(_:resistivestrength:).md)
- [GCDualSenseAdaptiveTrigger.PositionalResistiveStrengths](gamecontroller/gcdualsenseadaptivetrigger/positionalresistivestrengths.md)
- [setModeFeedback(resistiveStrengths:)](gamecontroller/gcdualsenseadaptivetrigger/setmodefeedback(resistivestrengths:).md)
- [setModeWeaponWithStartPosition(_:endPosition:resistiveStrength:)](gamecontroller/gcdualsenseadaptivetrigger/setmodeweaponwithstartposition(_:endposition:resistivestrength:).md)
- [setModeVibration(amplitudes:frequency:)](gamecontroller/gcdualsenseadaptivetrigger/setmodevibration(amplitudes:frequency:).md)
- [GCDualSenseAdaptiveTrigger.PositionalAmplitudes](gamecontroller/gcdualsenseadaptivetrigger/positionalamplitudes.md)
- [setModeSlopeFeedback(startPosition:endPosition:startStrength:endStrength:)](gamecontroller/gcdualsenseadaptivetrigger/setmodeslopefeedback(startposition:endposition:startstrength:endstrength:).md)
