Skip to content

API > Sprite > textureRectOffset


Sprite.textureRectOffset⚓︎

Read-Only

Read-only Property This property is Read-Only

Name Type
textureRectOffset Vector2

Description⚓︎

Gets the offset of the rectangle this Sprite uses on its Texture to the original Sprite bounds. If Sprite mesh type is FullRect, offset is zero.