how can i swipe a football on touch using forward swipe..

hey Folks, i am making flick football game type… i just want to flick ball using forward swipe gesture…but problem is my ball is flicking even if i make rigt or left or backward gesture of flick… i want it to flick on forward gesture… i am flicking a ball using a gesture Kit… using TouchScript.Events;
using TouchScript.Gestures;
using UnityEngine;

public class FlickExample_Rotator : MonoBehaviour
{

public Rigidbody Target;

private Quaternion targetRotation;
private Vector3 speed;
public bool test;
public bool FlickOnce = true;

private void Start()
{
	FlickOnce = true;
    GetComponent<FlickGesture>().StateChanged += flickHandler;
    GetComponent<PressGesture>().StateChanged += pressHandler;

}

private void pressHandler(object sender, GestureStateChangeEventArgs gestureStateChangeEventArgs)
{

// Target.angularVelocity = Vector3.forward;

}

	void Update()
{

	//SendMessage("Follow",SendMessageOptions.DontRequireReceiver);
	Target = GameObject.FindGameObjectWithTag("Football").rigidbody;



}
private void FixedUpdate()
{
    if (speed != Vector3.zero)
    {
		Target.AddForce((speed/10));
		Target.rigidbody.velocity = transform.TransformDirection(Vector3.forward *8);
		Target.AddRelativeForce(Vector3.up *1.5f ,ForceMode.Impulse);
		 speed = Vector2.zero;

    }

	
}


public void flickHandler(object sender, GestureStateChangeEventArgs e)
{
	if(FlickOnce == true)
	{

    if (e.State == Gesture.GestureState.Recognized)
    {
			Target.SendMessage("RollBall",SendMessageOptions.DontRequireReceiver);
		    var spd = ((sender as FlickGesture).ScreenFlickVector/(sender as FlickGesture).ScreenFlickTime);

			speed = new Vector3(Mathf.Clamp(spd.x,-500,500),(Mathf.Clamp(spd.y,-150,450)),-((camera.nearClipPlane - 1000)));
			spd = speed;

			SendMessage("DontFollow",SendMessageOptions.DontRequireReceiver);
			FlickOnce = false;
		
    }
	}
}

public void FlickOneTime()
{
	FlickOnce = true;
}

void OnGUI()
{
	if(GUI.Button(new Rect(0,0,100,50),"Reload"))
	{
		Application.LoadLevel(Application.loadedLevel);
	}
}

}

If you want to react only to forward/up swipe then you’ll have to use the flickVector to determine the direction of the flick. If vec.y < 0 || Mathf.Abs(vec.x) > vec.y it’s probably not a forward swipe.