Skip to main content

Keyboard

Keyboard blocks handle keyboard input and user controls for interactive simulations.

Overview

Keyboard blocks enable agents and simulations to respond to user keyboard input. These blocks are essential for creating interactive simulations where users can control agent behavior, trigger actions, or navigate through different simulation states using keyboard commands.

Block Categories

Key Detection

  • Key Held? - Checks if a specific key is currently being held down
  • Key Typed? - Checks if a specific key was typed (pressed and released)