unity does'nt recognized public transform can someone help me?

Please use code tags, not screenshots.

You seem to have a period where you needed a comma, between “Player.position.y” and “transform.position.z”.

1 Like
  1. Use code tags, don’t post screenshots, they’re annoying to read.
  2. If you’re getting an error, copy and paste the actual error
  3. You used a period instead of a comma between your Y and Z components.
1 Like

sorry, i’m newbie here

sorry for the screenshot and thanks it’s working now