Getting an error for my TP.js Script

So, I’m getting this error “BCE0019” on lines 15,107 for postion which is not a UnityEngine.GameObject’ member

#pragma strict
var target : GameObject;
var adjust : float;
var c1 : Color;
var jump : boolean;

function Start (){
	renderer.material.color = c1;
}

function OnTriggerEnter(other : Collider ){
	if(!jump){
		if(other.tag == "Player"){
			target.GetComponent(Teleport).jump = true;
			other.gameObject.transform.position = Vector3(target.transform.position.x, target.position.y + adjust, 0);			
		}	
	}
}
function OnTriggerExit(other : Collider){
	if(other.tag == "Player"){
		jump = false;
	}
}

Replace this line :

other.gameObject.transform.position = Vector3(target.transform.position.x, target.position.y + adjust, 0);

With this line :

other.gameObject.transform.position = Vector3(target.transform.position.x, target.transform.position.y + adjust, 0);

You missed out the word transform before position(last one) in the top line

PS : Please don’t keep posting the same question while waiting for an answer, thanks :slight_smile: