• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • Globals

    ScaleObject

    ScaleObject is a built-in component for animating the scale of GameObjects over time. This component can be found in the built-in components section of the Assets Catalog and dragged onto any GameObject. Configure start and end scale values, duration, and control playback through pause, resume, and restart methods.

    Properties

    Event that fires when the scale animation completes.

    Methods

    Pause

    ClientOnly
    NoSelfParameter

    Pauses the scale animation.

    Returns

    void

    Restart

    ClientOnly
    NoSelfParameter

    Restarts the scale animation from the beginning.

    Returns

    void

    Resume

    ClientOnly
    NoSelfParameter

    Resumes the scale animation from where it was paused.

    Returns

    void

    SetDuration

    ClientOnly
    NoSelfParameter

    Sets the duration for the scale animation in seconds.

    Parameters

    duration
    number

    Returns

    void

    SetEndScale

    ClientOnly
    NoSelfParameter

    Sets the target end scale for the animation.

    Parameters

    endScale

    Returns

    void

    SetStartScale

    ClientOnly
    NoSelfParameter

    Sets the starting scale for the animation.

    Parameters

    startScale

    Returns

    void

    Updated 13 days ago

    PocketWorlds Icon

    © 2025 Pocket Worlds. All rights reserved.