phaser - v4.0.0-rc.4
    Preparing search index...

    Provides methods used for setting the visibility of a Game Object. Should be applied as a mixin and not used directly.

    interface Visible {
        visible: boolean;
        setVisible(value: boolean): this;
    }

    Implemented by

    Index

    Properties

    Methods

    Properties

    visible: boolean

    The visible state of the Game Object.

    An invisible Game Object will skip rendering, but will still process update logic.

    Methods

    • Sets the visibility of this Game Object.

      An invisible Game Object will skip rendering, but will still process update logic.

      Parameters

      • value: boolean

        The visible state of the Game Object.

      Returns this