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.xMax

Switch to Manual
public float xMax;

Description

Right coordinate of the rectangle.

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