Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

static function GetMinSize(sprite: Sprite): Vector2;
static Vector2 GetMinSize(Sprite sprite);
static def GetMinSize(sprite as Sprite) as Vector2

Description

Minimum width and height of the Sprite.