$ 0 0 Instead of KeyCode.W below - if(Input.GetKey(KeyCode.W)) { GetComponent().velocity = Vector2.up * speed * 4; }