[Solved] Unity ‘Transform does not contain a definition for Position’ [closed]


C# is a case sensitive programming language.
You wrote transform.Position instead of transform.position.

You also tried to make operations on transform.position which is invalid.
If you want to make an operation on the position then you must declare x or y.
So, transform.position.x + 5 is valid However, transform.position + 5 is invalid.

solved Unity ‘Transform does not contain a definition for Position’ [closed]