PluginMenu¶
Not yet Class NotCreatable NotReplicated
A context menu that can be shown in Studio. Displays a list of PluginActions and supports submenus.
Not implemented yet
This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.
0 Nova members ยท 15 modern Roblox members not implemented yet
Description¶
PluginMenu represents a context menu which can be shown in Studio to display
a list of PluginActions and which also supports submenus.
A PluginMenu must be created using the Plugin.CreatePluginMenu()
method in order to work as expected.
Inheritance¶
Object โ Instance โ PluginMenu
Properties¶
| Member | Signature | Summary |
|---|---|---|
Icon |
Icon: string |
The icon to be displayed when used as a submenu. |
Title |
Title: string |
The text to be displayed when used as a submenu. |
Visible |
Visible: bool |
Determines whether the menu is shown when it is used as a submenu. |
Methods¶
| Member | Signature | Summary |
|---|---|---|
AddAction |
PluginMenu:AddAction(action: Instance): null |
Adds the given action to the menu. |
AddMenu |
PluginMenu:AddMenu(menu: Instance): null |
Adds the given menu as a separator. |
AddNewAction |
PluginMenu:AddNewAction(actionId: string, text: string, icon: string): Instance |
Creates a temporary action that is hidden from Studio's customize shortcuts window. |
AddSeparator |
PluginMenu:AddSeparator(): null |
Adds a separator between items in the menu. |
Clear |
PluginMenu:Clear(): null |
Clears the menu. |
ShowAsync |
PluginMenu:ShowAsync(): Instance |
Shows the menu at the mouse cursor. Yields until either an item is selected or the menu is closed. |
Roblox reference: PluginMenu
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.