@Override
	public boolean click(int mx, int my, boolean click)
	{
		if(autoCheck)
			typeProcessor();

		xPt = mx;
		yPt = my;

		if(mouseIn(mx,my)&&click)
		{
			cursPosOne = getClosestIndex(mx);

			if(!drag)
				cursPosTwo = cursPosOne;

			selected = true;
			drag = true;
			
		}

		if(!click)
		{
			drag = false;
		}

		if(click && !mouseIn(mx,my)&&!drag)
		{
			selected = false;
			cursPosOne = -1;
		}
		return false;
	}