Skip to content

API > Sprite > textureRect


Sprite.textureRect⚓︎

Read-Only

Read-only Property This property is Read-Only

Name Type
textureRect Rect

Description⚓︎

Get the rectangle this Sprite uses on its Texture. Raises an exception if this Sprite is tightly packed in an atlas.