Anomaly: Mouse Y also affects its X value. Values tied to object position.

Hey guys!
I have a weird issue here that I would really like to figure out.

I have an object with a script that controls the Z position of an object.

transform.position.z =
Input.mousePosition.normalized.y;

Basically this^^

It works fine when I move the mouse up and down. The weird issue is that when I move
the mouse sideways, it also registers as if it was moving up and down.
Why does mouse X affect the Z of my object?

Input.GetAxis(“Mouse Y”)

You don’t want to use “.normalized”; that alters the entire value of mousePosition in order to make it have a magnitude of 1. It’s expected behavior, not weird.