<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIDynamicItemBehavior/addLinearVelocity(_:for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIDynamicItemBehavior(im)addLinearVelocity:forItem:"
  },
  "title" : "addLinearVelocity(_:for:)"
}
-->

# addLinearVelocity(_:for:)

Adds a specified linear velocity to a dynamic item.

```
func addLinearVelocity(_ velocity: CGPoint, for item: any UIDynamicItem)
```

## Parameters

`velocity`

The linear velocity, expressed in points per second, that you want to add to the specified dynamic item. Default value is `0`. Applying a negative value reduces the linear velocity by the specified amount.

`item`

The dynamic item whose linear velocity you want to increase (or decrease).

## 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)