Small World Engine API Reference - v0.46.1
    Preparing search index...

    Variable InputModeConst

    InputMode: { STRAFE: "strafe"; TANK: "tank" } = ...

    Defines how the horizontal input keys (A/D) behave.

    Type Declaration

    • ReadonlySTRAFE: "strafe"

      A/D keys move the object/camera sideways.

    • ReadonlyTANK: "tank"

      A/D keys rotate the object/camera left/right (Tank Controls).