Check transform position

Hi all.

In this script I am making a Linecast (using Debug.DrawLine for now) to check if the player is near the villain (the script is assigned to the villian)
So when the villain is facing left, the Linecast end will change its position so it can “look” left.

Heres the script :

	//-1.31 x axis  when looking left and  1.31 when looking right
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		Raycasting ();
		if (lookl == true) {
			transform.localEulerAngles = new Vector3 (0, 180, 0);
		} else {
			transform.localEulerAngles = new Vector3 (0, 0, 0);
		}
	}
	void Raycasting (){
		Debug.DrawLine (lookone.position, looktwo.position, Color.cyan);
		if ((lookl) && (looktwo.position == new Vector3 (0, 1.37, 0))){
			looktwo.localPosition = new Vector3 (0, -1.37, 0);
		}
	}


}

Its giving me an error saying that I have some invalid arguments for Vector3.

-please help if possible

void Raycasting (){
Debug.DrawLine (lookone.position, looktwo.position, Color.cyan);
if ((lookl) && (looktwo.position == new Vector3 (0, 1.37f, 0))){
looktwo.localPosition = new Vector3 (0, -1.37f, 0);
}
}

use this script modification

@JigneshKoradiya

Silly mistake my me. Thanks!