Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: EverySingleSoldier on February 25, 2021, 01:28:45 AM

Title: UI image order of display
Post by: EverySingleSoldier on February 25, 2021, 01:28:45 AM
Can you get a UI object/image to be displayed in front of all other UI without it being  below the other objects in the hierarchy ?

In other words, force it to be displayed as if it was lower in the hierarchy and thus display it in front of everything on screen?

Title: Re: UI image order of display
Post by: djaydino on February 25, 2021, 06:42:41 AM
Hi.
You could make a separate canvas and on canvas component set a different sort order.

what is the reason you don't want it below the other objects?
Title: Re: UI image order of display
Post by: EverySingleSoldier on February 25, 2021, 10:29:27 AM
I have these objects embedded in a loop and moving them down will result in the get parent / get child actions not being generic
Title: Re: UI image order of display
Post by: djaydino on February 26, 2021, 05:56:51 AM
Hi.
on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181) you can find some Sibling actions which might be helpful.

For example 'Set Last Sibling' would set the object on the last position inside the parent/child list