Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


position

The position of the rigidbody.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public Vector2 position { get; set; }

Remarks

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