---
title: "Floating Text - s&box library"
description: "Easily create damage numbers or other floating text"
canonical: "https://sbox.watch/libraries/facepunch/floating_text/"
generated_at: "2026-07-22T23:17:23.213Z"
---

# Floating Text

Easily create damage numbers or other floating text

- Type: library
- Ident: facepunch.floating_text
- Creator: Facepunch
- Canonical: https://sbox.watch/libraries/facepunch/floating_text/
- Markdown: https://sbox.watch/libraries/facepunch/floating_text.md
- sbox.game: https://sbox.game/facepunch/floating_text/
- Generated: 2026-07-22T23:17:23.213Z

## Stats

- 24h momentum: +0
- Terry score: 69%
- Favorites: 5
- Upvotes: 6
- Downvotes: 0
- Updated: Apr 19, 2023
- Created: Apr 17, 2023
- Size: 13.6 KB
- Files: 2
- Tags: damagenumbers, ui, cool, library

## Description

About Floating Text

\#\#\# Source

- https://github.com/Facepunch/sbox-floating-text

\#\#\# Install

- Add \`facepunch.floating\_text\` to your project packages

\#\#\# Usage

- FloatingText is a panel that you can add to your hud.
- Create an instance and call the Create method on it, pass it a world position.
- A FloatingTextLabel is returned with various builder methods, i.e. \`.WithMotion(...)\`



## More by Facepunch

| Package | Ident | Players | Favorites | Upvotes | Score | Markdown |
| --- | --- | --- | --- | --- | --- | --- |
| Player Controller | facepunch.playercontroller | 0 | 98 | 74 | 96% | https://sbox.watch/libraries/facepunch/playercontroller.md |
| SDF Mesh Library | facepunch.libsdf | 0 | 29 | 25 | 90% | https://sbox.watch/libraries/facepunch/libsdf.md |
| Sprite Tools (OBSOLETE) | facepunch.spritetools | 0 | 18 | 22 | 83% | https://sbox.watch/libraries/facepunch/spritetools.md |
| Game Events | facepunch.libevents | 0 | 15 | 13 | 83% | https://sbox.watch/libraries/facepunch/libevents.md |
| Spline Tools | facepunch.splinetools | 0 | 12 | 17 | 86% | https://sbox.watch/libraries/facepunch/splinetools.md |
| State Machines | facepunch.libstates | 0 | 12 | 15 | 85% | https://sbox.watch/libraries/facepunch/libstates.md |
