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

var position: Vector2;
Vector2 position;
position as Vector2

Description

The top left coordinates of the rectangle.

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