Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Sprite.pivot

Switch to Manual
public var pivot: Vector2;

Description

Location of the Sprite's center point in the Rect on the original Texture, specified in pixels.

See Also: rect.