Description

Resets all keys. You must assign the buttons (press(), keyDown() and keyUp()) to restore movement and actions

Usage

Parameters

  • keys {Array} optional

    (optional) Reset only the keys assigned in the array

Example

canvas.Input.reset([Input.Enter, Input.Space]);

Discussion