---
title: "setWebScriptValueAt(_:value:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/webscriptobject/setwebscriptvalueat(_:value:)"
---

# setWebScriptValueAt(_:value:)

Sets the value of a property at the specified index.

## Declaration

```swift
func setWebScriptValueAt(_ index: UInt32, value: Any!)
```

## Parameters

- `index`: The index of the property.
- `value`: The value of the property.

## See Also

### Getting and setting properties

- [jsObject()](webkit/webscriptobject/jsobject().md)
- [removeWebScriptKey(_:)](webkit/webscriptobject/removewebscriptkey(_:).md)
- [webScriptValue(at:)](webkit/webscriptobject/webscriptvalue(at:).md)
