Buttons within UIGridLayout changing order when I playtest

Two posts in one day I am on a roll.

ANYWAYS, I’m having this issue here that I can’t find anybody online complaining about whatsoever.

When I’m in studio, my buttons look great, they’re in the order they’re supposed to be in.

The issue arises when I playtest; the buttons pick a different order than what’s shown in Studio.

I’ve looked into the SortOrder function under Behavior and that doesn’t seem to do much.

I do currently have all of the buttons as their default named “TextButton” and am hoping to find a fix to avoid having to rename all of them… any help is welcome.

My Buttons in Edit Mode

My Buttons when I Playtest

Forgot to add my Hierarchy oops

Hierarchy

use the LayoutOrder property (for each button) to change whatever place in line that button is in.

make sure your UIGridLayout orders by LayoutOrder, not name.

2 Likes

I never thought to look inside the buttons themselves… thank you!

Now to number 80+ buttons starting from 1 lol

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.