Skip to main content

Sprite.textureRect

"Read-Only"

This property is Read-Only

NameType
textureRectRect

Description

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