# GetKey Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.Input.GetKey/ GetKey Returns true while the user holds down the key identified by the key KeyCode enum parameter. --- ## Declaration public static bool GetKey(KeyCode key) #### Summary Returns true while the user holds down the key identified by the key KeyCode enum parameter. ### Parameters | Name | Type | Summary | | --- | --- | --- | | key | KeyCode | - | --- ## Overload public static bool GetKey(string name) #### Summary Returns true while the user holds down the key identified by name. ### Parameters | Name | Type | Summary | | --- | --- | --- | | name | string | - | ---