object going sideways when a negative x value is given.

I’m following the Walker Boys tutorial and have so far made it to working with the transform commands. In it he me write this code:

var boxSpeed = 4.0;

function Update () {
	
	transform.Translate(boxSpeed*Time.deltaTime,0,0);

As expected, the cube moved forward. But when I gave it a negative value (i.e. -4), instead of the cube going backwards like in the video, it went sideways. I checked and recheck his code with mine, they’re identical as far as I can tell. This occurs on the y and z axis as well. Can anyone please explain why this is?

Try this is an empty scene and see if you encounter the same behaviour. It’s probably something else you haven’t considered. @Benproductions1