PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

CreateButton

Creates PluginToolbarButton that allows the user to initiate a single, one-off action in Roblox Studio through the PluginToolbarButton/Click|Click event.

See also

  • articles/Intro to Plugins, an introductory level article for users looking to create custom plugins

Parameters

Name Type Default Description

A unique button Id

The text displayed in the tooltip shown when a user hovers over the button

The asset Id (e.g. rbxassetid://1507949215) of the icon displayed in the button

Text displayed under the button icon. Optional. If this field is not provided, the Id will be used instead

Returns

Return Type Summary

The created PluginToolbarButton instance