private Rigidbody2D rb; public Vector2 direction; public float force; void Start() { rb = GetComponent<Rigidbody2D>(); rb.AddForce(direction * force, ForceMode2D.Impulse); //rb.AddForce(--pass in Vector--, --can pass in ForceMode--); }