⏱️ Inspiration
I wanted to give creators a simple, reliable way to track how long players spend inside their Horizon Worlds experiences. Whether you're building a game, a social hub, or an educational space, knowing how much time users engage can unlock smarter design choices, better rewards, and deeper analytics.
🧩 What It Does
The TimeSpent script tracks how long each player stays in a world. It starts counting when they enter and logs their device, visits count as well as how many consecutive days the player has been in the world. This data can be used for:
- Leaderboards based on time spent
- Unlocking achievements or rewards
- Measuring engagement across different areas or sessions
It’s lightweight, remixable, and easy to integrate into any world.
🛠️ How I Built It
The script uses Horizon’s built-in player events to:
- Using Horizon's codeblocks making it accessible to anyone with any level of programing.
🧱 Challenges I Ran Into
- Setting up a picture for the asset so it's easier to locate it
🏆 Accomplishments I am Proud Of
- Built a clean, reusable script that works across world types
📚 What I Learned
- Simplicity matters—especially when designing assets
- Clear documentation and naming conventions make adoption smoother for other creators
🚀 What's Next for TimeSpent script
We’re planning to:
- Add a TS version of it
TimeSpent is a foundational asset—and we’re excited to see how creators build on it.



Log in or sign up for Devpost to join the conversation.