<!--
{
  "availability" : [
    "iOS: 14.5.0 -",
    "iPadOS: 14.5.0 -",
    "macCatalyst: 14.5.0 -",
    "macOS: 11.3.0 -",
    "tvOS: 14.5.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCDualSenseAdaptiveTrigger/setModeVibrationWithStartPosition(_:amplitude:frequency:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:objc(cs)GCDualSenseAdaptiveTrigger(im)setModeVibrationWithStartPosition:amplitude:frequency:"
  },
  "title" : "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.

```
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.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)