How to attach box to menu?
ok i have whit's combo base
and i have added his autosize box
and i have added move menu
how would i attach the Box to the menu so when i move the menu the box's goes with it.
boxX = menuX + offset;
boxY = menuY + offset;
Thank you,
this was a question but i solved it.
wow that was short and sweet. how did you come across that?
i was gonna say that i was testing it lol works 100% i just had to do some math so text fit's alright
Or you could just set your box's x/y to the same variable as your menu. That way when you increase/decrease their values, both the menu and the box will move accordingly.