• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • Globals

    MoveObject

    MoveObject is a built-in component for moving GameObjects along a path defined by travel points. This component can be found in the built-in components section of the Assets Catalog and dragged onto any GameObject. Add travel points to create a path, configure duration, and control playback through pause, resume, and restart methods.

    Properties

    Event that fires when the movement animation completes.

    Methods

    AddTravelPoint

    ClientOnly
    NoSelfParameter

    Adds a new travel point to the movement path.

    Parameters

    travelPointPosition

    Returns

    void

    ClearTravelPoints

    ClientOnly
    NoSelfParameter

    Clears all travel points from the movement path.

    Returns

    void

    OnMoveCompleted

    ClientOnly
    NoSelfParameter

    Called when the movement animation completes.

    Returns

    void

    Pause

    ClientOnly
    NoSelfParameter

    Pauses the movement animation.

    Returns

    void

    Restart

    ClientOnly
    NoSelfParameter

    Restarts the movement animation from the beginning.

    Returns

    void

    Resume

    ClientOnly
    NoSelfParameter

    Resumes the movement animation from where it was paused.

    Returns

    void

    SetDuration

    ClientOnly
    NoSelfParameter

    Sets the duration for the entire movement animation in seconds.

    Parameters

    duration
    number

    Returns

    void

    Updated 13 days ago

    PocketWorlds Icon

    © 2025 Pocket Worlds. All rights reserved.