Hello, I have an issue with the UI of the game I am making. It appears when I drag an item, because I am sending the item to the bottom of the hierarchy for it to be on top of all elements, it makes it so that there is a slight fraction of a second where the image appears on one of the disabled objects (this doesn’t happen when the slots are enabled, but I need some slots disabled for a later logic, so it will cause an issue). Below is a picture showing this, to be more clear when I start to drag the rock, a rock silhouette appears at he right bottom section where I disabled one of the bars for half a second before it disappears. Thank you for your advice in advance.
Did you try enabling it and then restoring it to disabled??
I think doing that as the “drop” happens might trigger the reflowing of the layout.
1 Like