# PluginGui(ロブロックス クラス) > An abstract base class for GUIs that display Class.GuiObject|GuiObjects in Roblox Studio widgets. - URL:https://roblox.minecraft-okinawa.com/reference/classes/PluginGui/ - 公式:https://create.roblox.com/docs/reference/engine/classes/PluginGui - 受け継いでいるクラス:LayerCollector ## プロパティ - `PluginGui.Title: string`:The title that is displayed above the contents of the PluginGui. ## メソッド - `PluginGui:BindToClose(function: Function): ()`:Binds a function that runs when the user closes the PluginGui. - `PluginGui:GetRelativeMousePosition(): Vector2`:Returns the position of the mouse relative to the PluginGui. ## イベント - `PluginGui.PluginDragDropped(dragData: Dictionary)`:Fires when the user releases their mouse when hovering over a PluginGui during a drag operation started by Class.Plugin:StartDrag(). - `PluginGui.PluginDragEntered(dragData: Dictionary)`:Fires when the user's mouse enters a PluginGui during a drag operation started by Class.Plugin:StartDrag(). - `PluginGui.PluginDragLeft(dragData: Dictionary)`:Fires when the user's mouse leaves a PluginGui during a drag operation started by Class.Plugin:StartDrag(). - `PluginGui.PluginDragMoved(dragData: Dictionary)`:Fires when the user's mouse moves within a PluginGui during a drag operation started by Class.Plugin:StartDrag(). - `PluginGui.WindowFocused()`:Fires when the user begins interacting with the window of the PluginGui. - `PluginGui.WindowFocusReleased()`:Fires when the user stops interacting with the window of the PluginGui. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)