Working with Menus

Normally I have the menu Vocabulary Drawn under the menu Album. But on a special occasion when a button is pressed I need the Vocabulary menu drawn after the Album menu. How Might I do this?

There are classes stored inside Vocabulary and Album.


for i,v in pairs(Vocabulary) do
        v:draw()
    end
    
    ----- PAGES TOOLBAR ----
    for i,v in pairs(PT) do
        v:draw()
    end
    
    for i,v in pairs(Album) do
        v:draw()
    end

use an indicator stored in a variable, eg

if SpecialButtonPressed then
  --code to draw Vocabulary
end