---
title: "setXValue(_:yValue:toParameter:at:)"
framework: Professional Video Applications
role: symbol
role_heading: Instance Method
platforms: [fxplug 4.0+]
path: "professional_video_applications/fxparametersettingapi_v5/setxvalue(_:yvalue:toparameter:at:)"
---

# setXValue(_:yValue:toParameter:at:)

Sets the xy values for a position parameter.

## Declaration

```swift
func setXValue(_ x: Double, yValue y: Double, toParameter parameterID: UInt32, at time: CMTime) -> Bool
```

## Parameters

- `x`: Specified x value (0.0 - 1.0) in floating point space.
- `y`: Specified y value (0.0 - 1.0) in floating point space.
- `parameterID`: Unique identifier for the parameter.
- `time`: Specified time to set the values.

## Return Value

Return Value Returns YES if the value is set successfully; NO otherwise.

## Discussion

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.

## See Also

### Instance Methods

- [setBoolValue(_:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setboolvalue(_:toparameter:at:).md)
- [setCustomParameterValue(_:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setcustomparametervalue(_:toparameter:at:).md)
- [setFloatValue(_:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setfloatvalue(_:toparameter:at:).md)
- [setHistogramBlackIn(_:blackOut:whiteIn:whiteOut:gamma:forChannel:fromParameter:at:)](professional_video_applications/fxparametersettingapi_v5/sethistogramblackin(_:blackout:whitein:whiteout:gamma:forchannel:fromparameter:at:).md)
- [setIntValue(_:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setintvalue(_:toparameter:at:).md)
- [setParameterFlags(_:toParameter:)](professional_video_applications/fxparametersettingapi_v5/setparameterflags(_:toparameter:).md)
- [setPathID(_:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setpathid(_:toparameter:at:).md)
- [setRedValue(_:greenValue:blueValue:alphaValue:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setredvalue(_:greenvalue:bluevalue:alphavalue:toparameter:at:).md)
- [setRedValue(_:greenValue:blueValue:toParameter:at:)](professional_video_applications/fxparametersettingapi_v5/setredvalue(_:greenvalue:bluevalue:toparameter:at:).md)
- [setStringParameterValue(_:toParameter:)](professional_video_applications/fxparametersettingapi_v5/setstringparametervalue(_:toparameter:).md)
