How to hide and erase ''Formation'' button?

I looked for many guides on how to remove the ''Formation'' button, but no one explains it well, or it doesn't work at all.
I tried removing the formation from Window_menucommand, and from Scene_menu too, but it didn't work either.

What should I do?

1696484434757.png

I need that button to disappear, and not be able to be selected in the menu.
I also don't want it to look like empty space. (I already tried deleting the name and delete it from Scene_Menu).
Ok, I figured out how to remove and hide the "Formation" button.

I will describe it step by step so you can do it too.

step 1: Open the script editor.

step 2: Go to the "Windows" section and select "Window_MenuCommand"

step 3: Go to line 33, where the "Create command List" section begins

Next, delete the line that says "Add_Formation_Command"

step 4: Save the changes and start the game.

THIS IS AVAILABLE FOR RPG MAKER VX ACE [RMVXAce]

#==============================================================================
# Atea - Removed in-menu save and formation commands V1.0
#==============================================================================
#
# by.Atea 介绍:
#
# VA菜单中,删除存档或整队指令
#
#==============================================================================
#
# copyright:
# All you need to do is to note that this script was written by Atea in the game.
#
#==============================================================================
module Save_and_Formation

Save = false # Whether to disable the Save button in the menu (true/false)

Formation = true # Whether to disable the Formation button in the menu (true/false)

end
#==============================================================================
# * The setup part is over, the following is the scripting part
#==============================================================================
class Window_MenuCommand < Window_Command
def make_command_list
add_main_commands
add_command(Vocab::formation, :formation, formation_enabled) if Save_and_Formation::Formation == true
add_original_commands
add_command(Vocab::save, :save, save_enabled) if Save_and_Formation::Save == true
add_game_end_command
end
end

Original thread: https://forums.rpgmakerweb.com/threads/how-to-hide-and-erase-formation-button.161750/