> For the complete documentation index, see [llms.txt](https://owo-game.gitbook.io/c++/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://owo-game.gitbook.io/c++/sensations/create-sensations.md).

# Create sensations

To add sensations to your project, you can create them in several ways:

**Create a sensation and save it in a variable**

```cpp
auto ball = SensationsFactory::Create(100, 0.1f, 100, 0, 0, 0);
```

**Create a sensation, then assign muscles**

```cpp
auto ballWithMuscles = ball->WithMuscles({ Muscle::Pectoral_R });
```

**Create a sensation, then assign muscles with overrided intensity**

```cpp
auto softBall = ball->WithMuscles({ Muscle::Pectoral_R.WithIntensity(50) });
```

**Create a sensations sequence**

```cpp
auto sequence = new SensationsSequence({ daggerEntry, bleeding });
```

**Cast a sensation from a rawString**

```cpp
auto ball = SensationsParser::Parse("100,1,100,0,0,0,Ball");
```
