createCursorKeys() → {object}
Creates and returns an object containing 4 hotkeys for Up, Down, Left and Right.
Returns
object -
An object containing properties: up
, down
, left
and right
of Phaser.Key objects.
- Source code: input/Keyboard.js (Line 208)
Please login to continue.