input.unlockKey

unlockKey(action: string) → {}

unlock a key manually

// Unlock jump when touching the ground
if (!this.falling && !this.jumping) {
    me.input.unlockKey("jump");
}
Parameters:
Name Type Description
action string

user defined corresponding action

Returns:
Type Description
Powered by webdoc!