Hi,
I'm trying to get the position of an object with..
var objectpos : Vector3 = transform.position;
but I get the error "Argument Exception: You are not allowed to call get_transform when declaring a variable. Move it to the line after without a variable decleration."
I dont really understand how to solve this, can anyone help?
thanks