Skip to content

Class · inherits Instance

PluginAction

Official docs ↗

Represents a generic performable action in Roblox Studio that can optionally be bound to a keyboard shortcut.

About PluginAction

PluginAction represents a generic performable action in Studio with no directly‑associated PluginToolbarButton. If AllowBinding is true, the action can be assigned a keyboard shortcut through Studio's File ⟩ Customize Shortcuts window.

A PluginAction must be created using the Plugin.CreatePluginAction method in order to work as expected.

Properties 4

  • ActionId: stringReadOnlyNotReplicatedA string that uniquely identifies this action.

    A string that uniquely identifies this action. This string is the key used when saving and loading the action's state in Roblox Studio.

  • AllowBinding: booleanReadOnlyNotReplicatedDetermines whether the action can be assigned a keyboard shortcut in Studio.

    This property determines whether the action can be assigned a keyboard shortcut through Studio's File ⟩ Customize Shortcuts window. Default is true.

  • StatusTip: stringReadOnlyNotReplicatedThe description of the action when viewing it from the keyboard shortcuts window in Roblox Studio.
  • Text: stringNotReplicatedThe text that is displayed when viewing this action in Roblox Studio.

Events 1

  • TriggeredPluginAction.Triggered:Connect(function())PluginFires when the action is triggered.

    Fires when the action is triggered, typically through the keyboard shortcut that it was bound to.

PluginAction also has every member of Instance. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.