using UnityEngine;
using System.Collections;

public class MousePitchHandler : MonoBehaviour {

    public float x;
    public float amp;

	// Use this for initialization
	void Awake () {
        amp = 0;
        x = 0;
    }
	
	// Update is called once per frame
	void Update () {
        //print(x);
        x = (Input.mousePosition.x - 200) * 5;
        if (Input.GetMouseButton(0))
            amp = 1;
        else
            amp = 0;
    }
}
