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

Switch to Manual
public Vector2 position;

Description

The top left coordinates of the rectangle.

This is the x and y coordinates in a combined Vector2.