# Floating Item

Presented by FloatingItem class, it makes gameobject continuously move up and down with certain amplitude and speed. This movement automatically begins when its gameobject becomes active on scene.

<figure><img src="https://1131436974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9rEHd0nHFvWCSkMEfAjl%2Fuploads%2FxtDqtES2NGIiT5VOayJW%2Fimage.png?alt=media&#x26;token=47406fb3-1b04-439b-9ced-fff2378aeb2a" alt=""><figcaption><p>Floating Item component</p></figcaption></figure>

### Parameters in inspector

**Floating Amplitude** – movement amplitude

**Floating Speed** – movement speed

***

### Available methods

```csharp
public void Restart()
```

*This method instantly moves gameobject to initial position.*
