Agent Skills: uloop control-play-mode

Control Unity Editor play mode. Use when: starting/stopping/pausing play mode, testing game behavior, or when user asks to play or stop. Controls play/stop/pause of Unity Editor.

UncategorizedID: hatayama/uLoopMCP/uloop-control-play-mode

Install this agent skill to your local

pnpm dlx add-skill https://github.com/hatayama/uLoopMCP/tree/HEAD/.agents/skills/uloop-control-play-mode

Skill Files

Browse the full folder contents for uloop-control-play-mode.

Download Skill

Loading file tree…

.agents/skills/uloop-control-play-mode/SKILL.md

Skill Metadata

Name
uloop-control-play-mode
Description
"Control Unity Editor play mode (play/stop/pause). Use when you need to: (1) Start play mode to test game behavior, (2) Stop play mode to return to edit mode, (3) Pause play mode for frame-by-frame inspection."

uloop control-play-mode

Control Unity Editor play mode (play/stop/pause).

Usage

uloop control-play-mode [options]

Parameters

| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | --action | string | Play | Action to perform: Play, Stop, Pause |

Global Options

| Option | Description | |--------|-------------| | --project-path <path> | Optional. Use only when the target Unity project is not the current directory. |

Examples

# Start play mode
uloop control-play-mode --action Play

# Stop play mode
uloop control-play-mode --action Stop

# Pause play mode
uloop control-play-mode --action Pause

Output

Returns JSON with the current play mode state:

  • IsPlaying: Whether Unity is currently in play mode
  • IsPaused: Whether play mode is paused
  • Message: Description of the action performed

Notes

  • Play action starts the game in the Unity Editor (also resumes from pause)

  • Stop action exits play mode and returns to edit mode

  • Pause action pauses the game while remaining in play mode

  • Useful for automated testing workflows

  • PlayMode entry may complete on the next editor frame. If a PlayMode-dependent command reports "PlayMode is not active" immediately after --action Play, wait briefly and retry.