Skip to content
Roblox API Reference

PluginMenu

A context menu that can be shown in Studio. Displays a list of PluginActions and supports submenus.
  • Not creatable
  • Not replicated
Memory category
Instances
Own members
9
Inherited members
75
Subclasses
0
Siblings
608

Properties26

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byPluginMenu3

Property categoryAppearance

  • PluginMenu.Icon: string
    The icon to be displayed when used as a submenu.
    • Not replicated
    • Load only
  • PluginMenu.Title: string
    The text to be displayed when used as a submenu.
    • Not replicated
    • Load only

Property categoryData

  • PluginMenu.Visible: boolean
    Determines whether the menu is shown when it is used as a submenu.
    • Roblox script security

Methods48

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Defined byPluginMenu6
  • PluginMenu:AddAction(action: Instance)
    Adds the given action to the menu.
    • Plugin security
    Parameters
    ParameterDescription
    action: Instance
    The action to add.
  • PluginMenu:AddMenu(menu: Instance)
    Adds the given menu as a separator.
    • Plugin security
    Parameters
    ParameterDescription
    menu: Instance
    The menu to add as a submenu. Uses its Title and Icon to display.
  • PluginMenu:AddNewAction(actionId: string,text: string,icon: string? = "",): Instance
    Creates a temporary action that is hidden from Studio's customize shortcuts window.
    • Plugin security
    Parameters
    ParameterDescription
    actionId: string
    Must be a unique string that identifies this PluginAction from others.
    text: string
    The text to be displayed.
    icon: string? = ""
    The icon to be displayed.
    Returns
    TypeDescription
    Instance
    The created PluginAction.
  • PluginMenu:AddSeparator()
    Adds a separator between items in the menu.
    • Plugin security
  • PluginMenu:Clear()
    Clears the menu.
    • Plugin security
  • PluginMenu:ShowAsync(): Instance
    Shows the menu at the mouse cursor. Yields until either an item is selected or the menu is closed.
    • Yields
    • Plugin security
    Returns
    TypeDescription
    Instance
    The PluginAction item that was selected or nil.

Events10

Inherited fromObject1
Inherited fromInstance9