rigidbody2D.AddForce(new Vector2(0, 10), ForceMode2D.Impulse); // or use code rigidbodyComponent.AddForce(new Vector2(0, 10), ForceMode2D.Impulse);