phaser - v4.0.0-rc.4
    Preparing search index...
    • Passes all provided Game Objects to the Input Manager to enable them for input with identical areas and callbacks.

      Type Parameters

      Parameters

      • items: G

        An array of Game Objects. The contents of this array are updated by this Action.

      • OptionalhitArea: any

        Either an input configuration object, or a geometric shape that defines the hit area for the Game Object. If not given it will try to create a Rectangle based on the texture frame.

      • Optionalcallback: HitAreaCallback

        The callback that determines if the pointer is within the Hit Area shape or not. If you provide a shape you must also provide a callback.

      Returns G