Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Buttons/frames not staying where they should be?

Asked by
nicros 165
9 years ago

So im having a problem with my buttons and frames.....first i should say im very inexperienced in LUA and roblox so sorry if this is a stupid problem hehe.

so everytime i place a button or frame of some sort and get its position where i want in roblox studio, then i test play the button/frame is in a different spot....and when i go to play online its in a different spot than the test play and the studio edit :/

is there some sort of anchor or something im missing? plz help and thanks :)

1 answer

Log in to vote
0
Answered by 9 years ago

If it is a block then there is a check box in the block's property that says "Anchored" if you check the check box, the block can not be physically moved, and only scripts and studio can change its position!

If it is a GUI, it is more complicated. GUI's position system has 4 different things. Scale X, offset X, Scale Y, offset Y. Scale will scale to the player's monitor size, while offset will go that many pixels from the players edge of screen!

If this helped, please accept

1
thanks for the reply but no, sorry shoulda clarified....its things like imagebuttons and frames for GUIS nicros 165 — 9y
0
k, edited yogipanda123 120 — 9y
0
thanks....got to do some tinkering but you helped clarify why its doing this so i accepted :P nicros 165 — 9y
Ad

Answer this question