Returns true if the Key was released within the duration value given, based on the current game clock time. Or returns false if it either isn't up, or was released longer ago than the given duration.
true
duration
false
The Key object to test.
Optional
The duration, in ms, within which the key must have been released. Default 50.
Returns
trueif the Key was released within thedurationvalue given, based on the current game clock time. Or returnsfalseif it either isn't up, or was released longer ago than the given duration.