Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question UI: Move element along path

Discussion in 'UGUI & TextMesh Pro' started by compyler, Sep 8, 2023.

  1. compyler

    compyler

    Joined:
    Mar 30, 2020
    Posts:
    94
    Hello!

    In my UI I have a progress bar (just an image) at the top and 3 star images in the middle of the screen. I now want to make the stars fly upwards into the progress bar (to signal the player that his total amount of stars increased).

    But I think moving the stars on a slight arc rather than on a straight line might look a bit better. How can I move an UI element along a path?
     
  2. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    10,756
    The 2D forum is not related to UI. Presumably you're using UGUI so I'll move your post there.