<!--
{
  "availability" : [
    "FxPlug: 4.0.0 -",
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxParameterRetrievalAPI_v6/getXValue(_:yValue:fromParameter:at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)FxParameterRetrievalAPI_v6(im)getXValue:YValue:fromParameter:atTime:"
  },
  "title" : "getXValue(_:yValue:fromParameter:at:)"
}
-->

# getXValue(_:yValue:fromParameter:at:)

Gets the xy position value (in 0.0 - 1.0 floating point) from a parameter.

```
func getXValue(_ x: UnsafeMutablePointer<Double>, yValue y: UnsafeMutablePointer<Double>, fromParameter parameterID: UInt32, at time: CMTime) -> Bool
```

## Parameters

`x`

Pointer to the plug-in variable for the x value.

`y`

Pointer to the plug-in variable for the y value.

`parameterID`

Unique identifier for the parameter.

`time`

Specified time to get the values.

## Return Value

Returns `YES` if the values are retrieved successfully; `NO` otherwise.

## Discussion

Depending on the host application, the time value may be relative to the start of the timeline or to the start of the clip. See [Understanding time in FxPlug](/documentation/Professional-Video-Applications/understanding-time-in-fxplug).

---

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)