// Update is called once per frame
    void Update()
    {
        ItemWasShot = false;

        //Always check if a button is pressed
        bool ItemButtonPressed       = Input.GetKeyDown(KeyCode.E);
        bool LeftMouseButtonPressed  = Input.GetMouseButtonDown(0);
        bool RightMouseButtonPressed = Input.GetMouseButtonDown(1);

        //Calls the methods that enables interaction with items and such
        ItemScript.ItemInteraction(ItemButtonPressed, LeftMouseButtonPressed || RightMouseButtonPressed);

        if (!ItemWasShot)
        {
            ShootPortal(LeftMouseButtonPressed, RightMouseButtonPressed);
        }
    }