Operate the game's GUI
gui_interactInspect and operate a live Roblox game's GUI: list buttons and text boxes, click controls, set text, or trigger ClickDetectors and ProximityPrompts.
Instructions
Look at and operate the game's interface. Actions: list (buttons and text boxes with text, visibility and position; default root is the player's PlayerGui), click (press a button: its own events by default, or a real mouse click with mode mouse), set_text (fill a text box, optionally press Enter with submit) and trigger (fire a ClickDetector or ProximityPrompt, given directly or found inside the part or model). Changes the running game. Requires the connected state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | list: what to list (default all). | |
| mode | No | click: auto (events first, then mouse), signal or mouse. | |
| path | No | click, set_text, trigger: dotted path of the target. | |
| root | No | list: dotted path to search under (default the player's PlayerGui). | |
| text | No | list: only elements whose text or name contains this. set_text: the text to enter. | |
| limit | No | list: maximum elements (default 60). | |
| action | Yes | What to do. | |
| client | No | Client id from list_clients, for example c2. Defaults to the client that connected last. | |
| submit | No | set_text: also press Enter (default false). | |
| visible_only | No | list: skip hidden elements (default true). |