Unknown-identifier: 'amtToMove'

#pragma strict
var playerSpeed : int;

function Start () {

}

function Update () {

// amount to move player
amtToMove = (playerSpeed * Input.GetAxis(“Horizontal”))* Time.deltaTime;

//move/translate the player
transform.Translate(Vector3.right * amtToMove);

Need help to identify why this issue is occurring. Any help is useful, does this script look functional? Thank you.

Add

var amtToMove : float;

after

var playerSpeed : int;

and you should be fine :wink: