---
title: Sprite size
brief: This example shows how to get the size of a sprite at run-time
scripts: size.script
---

The example uses two game objects, each with a sprite component and a label (to show the size). One of game objects contains the script that reads the size and shows it on the labels:

![size](size.png)
