#Unity returning error Cannot modify the return value of "Transform.position" because it is not a var
1 messages · Page 1 of 1 (latest)
if (transform.position.x = 13)
this line is wrong because = is the assignment operator
you want to use == to check equality
oops yea but thats not the error
Oh im actually dumb
okay ty
