What is wrong with this?

So im not seeing the problem here what should happen is the object players position should go up by 1 on the Y position or am i wrong?

using UnityEngine;
using System.Collections;

public class LadderControl : MonoBehaviour {
	public GameObject Player;

	void Start()
	{
	
	}


	void OnTriggerEnter2D(Collider2D other){
		if(Input.GetKeyDown(KeyCode.W))
		{
	           Player.transform.position += new Vector3(0, 1, 0);
		}
	}
}

any help would be apprciated.

OnTriggerEnter only ever gets called once, when something enters the collider its attached to. So, if you want to constantly be checking whether the W key is held down and only if something is in that collider, a better method would be to call OnTriggerStay2D. This function constantly gets called when an object is within its collider.