Legacy Documentation: Version 2017.1 (Go to current version)
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.

Did you find this page useful? Please give it a rating: