Skip to content

API > Sprite > texture


Sprite.texture⚓︎

Read-Only

Read-only Property This property is Read-Only

Name Type
texture Texture2D

Description⚓︎

Get the reference to the used Texture. If packed this will point to the atlas, if not packed will point to the source Sprite.

Extra Detail⚓︎

This only returns the Texture the Sprite is currently using. You cannot change the Texture using this.