dot big bang

Developer API
Menu

Class Keyboard

All
  • Public
  • Public/Protected
  • All

Hierarchy

  • Keyboard

Index

Methods

Methods

isKeyPressed

  • isKeyPressed(key: Key): boolean
  • Indicates whether the given key is pressed (either just pressed this frame, or being held from previous frames)

    Parameters

    Returns boolean