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.

Rect.size

var size: Vector2;
Vector2 size;
size as Vector2

Description

The size of the rectangle.

This is the width and height in a combined Vector2.