I am trying to maek brick breaker game i can move paddle but the problem When press play button the ball is not come down and i also getting error on my ball script Code (CSharp): using System.Collections; using System.Collections.Generic; using UnityEngine; public class Ballcontrol : MonoBehaviour { public Vector2 currentVel; public Vector2 ballvel; // Start is called before the first frame update void Start() { ballvel = new Vector2(3, -3); GetComponent<Rigidbody>().velocity = ballvel; } // Update is called once per frame void Update() { currentVel = GetComponent<Rigidbody2D>().velocity; if (currentVel.y > 6) { GetComponent<Rigidbody2D>().velocity = new Vector2(currentVel.x, 6); } if (currentVel.y < -6) { GetComponent<Rigidbody2D>().velocity = new Vector2(currentVel.x, -6); } if (currentVel.x > 6) { GetComponent<Rigidbody2D>().velocity = new Vector2(6, currentVel.y); } if (currentVel.x < -6) { GetComponent<Rigidbody2D>().velocity = new Vector2(-6, currentVel.y); } } void OnCollisionEnter2D(Collision2D Other) { if (Other.gameObject.name == "Left") { GetComponent<Rigidbody2D>().velocity = new Vector2((currentVel.x * -1), (currentVel.y)); } if (Other.gameObject.name == "Right") { GetComponent<Rigidbody2D>().velocity = new Vector2((currentVel.x * -1), (currentVel.y)); } } }