Input - Checking if Input Key/Button Exists

Hey,

How do I go about doing that? Is it possible?

Every time I use GetKey() or GetButton() it returns an error that the button or key doesn’t exist. In an environment where you can set a variety of different keys (along with some that might not even be set up yet) how do I first check if a button/key exists so that I can then set an input button/key that DOES for sure?

In case the answer is easily found, i’ll post my lmgtfy link here:stuck_out_tongue:

At least I tried!

I think you should check the button or keys ,if they were not exist ,when you use this ,then come to the nullpointerror