Taos API Reference
    Preparing search index...

    Class TouchControls

    Mobile/touch input overlay. Owns the joystick, look-drag region, and any caller-registered buttons. The host game wires behavior through callbacks; the class itself never touches game state directly.

    Index

    Constructors

    Methods

    • Update a button's visible label.

      Parameters

      • id: string
      • label: string

      Returns void