Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question responsive UI

Discussion in 'UGUI & TextMesh Pro' started by contacttobgay, Dec 13, 2023.

  1. contacttobgay


    Sep 1, 2023
    Hi everyone,
    I have been trying to place a UI image on a fixed position relative to a background image when the screen sizes change. I have set the images to preserve the aspect ratio. I have been playing around with anchors and pivot but no luck. I want the UI image to be fixed at a position plus within the bounds of the background image. Right now when i change the screen size the UI element goes out of the bounds of image and into the background of the Main Camera. How do i achieve this?