> For the complete documentation index, see [llms.txt](https://heroicsolo.gitbook.io/heroic-engine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://heroicsolo.gitbook.io/heroic-engine/basics/useful-components/floating-item.md).

# 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&amp;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.*
