Move object relative to its axis

Hello,

I have an object that gets rotated on the y axis during the game.
I want it to move with WASD, but it only moves accordingly to the world axis and not accordingly to its own axis.

Any help?

	if (Input.mousePosition.x < mouseArea)
	{
		cameraObject.position += Vector3(-MovingSpeed, 0, 0);
	}
	if (Input.mousePosition.x >= Screen.width - mouseArea)
	{
		cameraObject.position += Vector3(MovingSpeed, 0, 0);
	}
	if (Input.mousePosition.y < mouseArea)
	{
		cameraObject.position += Vector3(0, 0, -MovingSpeed);
	}
	if (Input.mousePosition.y > Screen.height - mouseArea)
	{
		cameraObject.position += Vector3(0, 0, MovingSpeed);
	}

Move it with Transform.Translate. The second parameter of this function defines if translation is relative to local or world coordinate system.

An alternative to using Transform.Translate, something like:

    if (Input.mousePosition.x < mouseArea)
    {
        cameraObject.position += MovingSpeed * -cameraObject.right;
    }

transform.right is the Vector facing right from where the object is facing, same concept with transform.up and transform.forward