Window zindex newbie question

Hello to all! i'm pretty new to rpg maker and ruby script and i'm going to be mad trying to figure out how i can set the z-index(like in css) for the Window_menucommand. I searched for it [everywhere but i can't find a solution please help me!

Ex:

I want to make the Menu_status will ben Under the MenuCommand but i really can't get how i can do it

i want to recreate the ffvii menu and that's what i've done so far

Spoiler
[IMG]http://puu.sh/iYUSq/386ad3fc9e.jpg[/IMG]
and that what should look like

Spoiler
[IMG]http://puu.sh/iYUVN/e6003b6397.jpg[/IMG]
as u can see the command menu is above the other 

Sorry my bad english and thanks in advance!
I've moved this thread to Learning Ruby and RGSS. Please be sure to post your threads in the correct forum next time. Thank you.
Hello! The method you're looking for is .z:

@status_window.z = @gold_window.z - 1@command_window.z = @status_window.z + 1The help file has a list of all methods of each RGSS class.
I've moved this thread to Learning Ruby and RGSS. Please be sure to post your threads in the correct forum next time. Thank you.
I'm sorry and thanks!

Hello! The method you're looking for is .z:

@status_window.z = @gold_window.z - 1@command_window.z = @status_window.z + 1The help file has a list of all methods of each RGSS class.
i'm a bit ashamed of myself but ididn't think about the help file xD thank you so much i will try it asap.

Edit: can't get it works.

I get this error:

undefinied method z for nil:nilclass when i try to put in "@status_window.z = @gold_window.z - 1"

Fine!it worked using the second command, the first still give me an error .

Anyway i can't find the help file too! XD

Thanks again!

Original thread: https://forums.rpgmakerweb.com/threads/window-zindex-newbie-question.42307/