Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

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

Rigidbody2D.position

Switch to Manual
public Vector2 position;

Description

The position of the rigidbody.

This is the position of the X and Y axis only.