# method not found: Input.GetButtonUp

**URL:** https://discussions.unity.com/t/method-not-found-input-getbuttonup/30947
**Category:** Questions & Answers
**Created:** [October 28, 2011, 12:14am UTC](https://discussions.unity.com/t/method-not-found-input-getbuttonup/30947 "2011-10-28T00:14:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/system/32/97283_2.png) [@system](https://discussions.unity.com/u/system)
#### Post date: [October 28, 2011, 12:14am UTC](https://discussions.unity.com/t/method-not-found-input-getbuttonup/30947/1 "2011-10-28T00:14:28Z")

</div>

None of the “getbutton” methods are being recognised? Were these made obsolete? Am I reading old manuals? What replaced them? here’s the script, copied and pasted right out of the reference. Unity won’t allow the game to run.

```
var projectile : GameObject;
function Update ()
{
    if (Input.GetButtonUp ("Jump"))
    {
        Instantiate (projectile, transform.position, transform.rotation);
    }
}

```

---

<div class="post-metadata">

### Author: ![Eric5h5](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/eric5h5/32/44225_2.png) [@Eric5h5](https://discussions.unity.com/u/Eric5h5)
#### Post date: [October 28, 2011, 12:42am UTC](https://discussions.unity.com/t/method-not-found-input-getbuttonup/30947/2 "2011-10-28T00:42:17Z")

</div>

Don’t name your scripts the same thing as Unity classes. (Technically you can differentiate between them, but it’s a bit of a pain.) Also, format your code when you post, please, it only takes 2 seconds.
