Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

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

Rect.max

public Vector2 max;

Description

The position of the maximum corner of the rectangle.

Setting this value will resize the rectangle, changing size to preserve min.