---
title: "parameterValue(for:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/ininteraction/parametervalue(for:)"
---

# parameterValue(for:)

Returns the value of the specified parameter of this interaction object.

## Declaration

```swift
func parameterValue(for parameter: INParameter) -> Any?
```

## Parameters

- `parameter`: The doc://com.apple.sirikit/documentation/Intents/INParameter object that specifies the key path to a property of this interaction object.

## Return Value

Return Value The value associated with the property at the specified key path.

## Discussion

Discussion Use this method to fetch the value of a property that was specified using an INParameter object. A parameter object contains a key path that identifies the location of the property inside this interaction object.
