A game about forced loneliness, made by TACStudios
1# Image 2 3The **Image** control displays a non-interactive image to the user. You can use this for purposes such as decorations or icons, and you can change the image from a script to reflect changes in other controls. The control is similar to the [Raw Image](script-RawImage.md) control, but offers more options for animating the image and accurately filling the control rectangle. However, the Image control requires its Texture to be a [Sprite](https://docs.unity3d.com/Manual/class-TextureImporter.html), while the Raw Image can accept any Texture. 4 5![An Image control](images/ImageCtrlExample.png) 6 7## Properties 8 9![](images/UI_ImageInspector.png) 10 11|**Property:** |**Function:** | 12|:---|:---| 13|**Source Image** | The Texture that represents the image to display (which must be imported as a [Sprite](https://docs.unity3d.com/Manual/class-TextureImporter.html)). | 14|**Color** | The color to apply to the image. | 15|**Material** | The [Material](https://docs.unity3d.com/Manual/class-Material.html) to use for rendering the image. | 16|**Raycast Target** | Enable **Raycast Target** if you want Unity to consider the image a target for raycasting. | 17|**Preserve Aspect** | Ensure the image retains its existing dimension. | 18|**Set Native Size** | Set the dimensions of the image box to the original pixel size of the Texture. | 19 20 21You must import the image to display as a [Sprite](https://docs.unity3d.com/Manual/class-TextureImporter.html) to work with the Image control.