---
sidebar_position: 8
title: Free Round Counter
description: Display and manage remaining free rounds in the game.
---
# Free Round Counter
## Overview
- Handles the **display** and **logic** for tracking remaining free rounds in a slot game.
- Supports both **desktop** and **mobile**, including animation and event handling.
| Orientation | Preview |
|-------------|---------|
| Desktop |  |
| Mobile |  |
---
## Implementation
### Prefab Locations
#### In Core
| Path | Example |
|---------------------------------------------------------------------|------------------------------------------------------------------------------------------|
| `assets\core-assets\hyper-core\packages\freeround-count-box\prefabs` |
 |
#### In Game
| Path | Example |
|-----------------------------------|---------------------------------------------------------------------------------------------------|
| `assets\game-assets\prefabs` |  |
### General Setup

- Component that manages and displays the free rounds counter.

**(platform)**: Desktop / Mobile *
| Property | Description |
|---------------|------------------------------------------|
| `duration` | Animation duration in seconds (fade In/Out) |
| `content` | Container node for the counter |
| `labelLeft` | Label displaying remaining free rounds |
---
### Platform Setup
#### Desktop
| Component | Description |
|--------------------------|---------------------------------------------------------------------------------------------------------------|
| `Platform-ui-controller` | [Platform UI Controller](http://localhost:3000/docs/faqs/setup-cocos-scene#Platform-ui-controller) |

---
#### Mobile
| Component | Description |
|-----------------------|--------------------------------------------------------------------------------------------------------------------------|
| `Platform-ui-controller` | [Platform UI Controller](http://localhost:3000/docs/faqs/setup-cocos-scene#Platform-ui-controller) |
| `UI Mobile Position` | [UI Mobile Position](http://localhost:3000/docs/faqs/setup-cocos-scene#ui-mobile-landscape--portrait--position) |

### Font Setup
Preview |
 |
:::tip
- **Position And Size**: Follow Game Design.
:::
## Game Result Examples
|Platform|Popup|Action|Result|
|--------|-----|------|------|
|Desktop||click → Start||
|Mobile||click → Start||