Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

Rect.max

Switch to Manual
public Vector2 max;

Description

Upper right corner of the rectangle.

Changing this value will preserve the left and bottom side of rectangle (so width and height will change as well).