# AgeSettings

> Human Generator for Blender documentation. Web version: https://humgen3d.com/docs/api/agesettings

Reached as: `human.age`

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/age.py#L17

Class to edit age of the human.

## Attributes

### age_color

```python
human.age.age_color: NodeInput
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/age.py#L28

### age_wrinkles

```python
human.age.age_wrinkles: NodeInput
```

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/age.py#L29

### keys

```python
human.age.keys: list[Union[ShapeKeyItem, LiveKeyItem]]
```

*read-only*

Get a list of all shapekeys and livekeys that affect the age of the human.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/age.py#L39

## Methods

### set()

```python
human.age.set(age: int, realtime: bool = False)
```

Set the age of the human.

Parameters:
- `age` (int): Age to set. UI uses increments of 10.
- `realtime` (bool, default False): Use true if the value will be changed in realtime by a slider in the UI.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/age.py#L47

### as_dict()

```python
human.age.as_dict() -> dict[str, Any]
```

Get the age settings of the human as a dictionary.

Returns: dict[str, Any] — Dictionary with the age settings of the human.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/age.py#L102

### set_from_dict()

```python
human.age.set_from_dict(data: dict[str, Any])
```

Set the age of the human from a dictionary.

Parameters:
- `data` (dict[str, Any]): Dictionary with the age of the human.

Source: https://github.com/OliverJPost/HumGen3D/blob/main/human/age.py#L114
