# Connection

    class Connection: NSObject

The value class representing a landmark connection.
- `
  ### [init(start:end:)](https://developers.google.com/edge/api/mediapipe/swift/vision/Classes/Connection.md.txt#/c:objc(cs)MPPConnection(im)initWithStart:end:)

  ` Initializes a new `MPPConnection` with the start and end landmarks integer constants.

  #### Declaration

  Swift

      init(start: UInt, end: UInt)

  #### Parameters

  |---|---|
  | `start` | The integer representing the starting landmark of the connection. |
  | `end` | The integer representing the ending landmark of the connection. |

  #### Return Value

  An instance of `MPPConnection` initialized with the given start and end landmarks integer constants.
- `
  ### [end](https://developers.google.com/edge/api/mediapipe/swift/vision/Classes/Connection.md.txt#/c:objc(cs)MPPConnection(py)end)

  `

  #### Declaration

  Swift

      var end: UInt { get }

- `
  ### [start](https://developers.google.com/edge/api/mediapipe/swift/vision/Classes/Connection.md.txt#/c:objc(cs)MPPConnection(py)start)

  `

  #### Declaration

  Swift

      var start: UInt { get }