# `GSFontMaster setCustomValue:forKey:`

*Instance Method*

Set the value for key

## Declaration

```swift
func setCustomValue(_ value: Any?, forKey key: String)
```

```objc
- (void) setCustomValue:(id) value forKey:(NSString *) key;
```

```python
setCustomValue_forKey_(value: object, key: str)
```

## Parameters

- `value` — The value to add
- `key` — The name of the parameter

## Discussion

It will look for an existing parameter with the name an overwrite its value, or adds a new parameter

