# `GSAlignmentZone objectInSettingsForKey:`

*Instance Method*

Returns the object in settings for the specified key.

## Declaration

```swift
func objectInSettings(forKey key: String?) -> Any
```

```objc
- (id) objectInSettingsForKey:(NSString *) key;
```

```python
objectInSettingsForKey_(key: str) -> object
```

## Parameters

- `key` — The key to retrieve the object for.

## Return Value

The object for the specified key, or nil if not found.

