Name
Menu.Remove -- detach object from menu
Synopsis
moai.DoMethod(id, "Remove", obj)
Function
This method can be used to detach the specified object from the specified menu. After this method returns the specified object will change its state from attached to detached. This means that you could now attach it to another menu using a function like Menu.Insert or you could free it using moai.FreeObject().

Inputs
id
id of the menu object
obj
id of the object to remove

Show TOC