editor-application-get-state

Retrieves Unity Editor application state including playmode, pause, and compilation status.

Updated May 28, 2026
One-click install
npx skills add https://github.com/ishaansingh-ai/Mechanical-2D --skill editor-application-get-state-ishaansingh-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: editor-application-get-state
Source: https://github.com/ishaansingh-ai/Mechanical-2D/tree/main/.claude/skills/editor-application-get-state
Command: npx skills add https://github.com/ishaansingh-ai/Mechanical-2D --skill editor-application-get-state-ishaansingh-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? When automating Unity Editor workflows through the MCP CLI, you often need to know whether the Editor is playing, paused, compiling, or updating assets before issuing further commands. This Skill returns the current UnityEditor.EditorApplication state so automation scripts can make informed decisions. ## Core Features & Use Cases - Editor State Inspection: Returns IsPlaying, IsPaused, IsCompiling, IsPlayingOrWillChangePlaymode, and IsUpdating flags. - Environment Information: Provides ApplicationPath, ApplicationContentsPath, and TimeSinceStartup for diagnostics. - Use Case: Before running a playmode test or triggering a script reload, call this tool to confirm the Editor is not compiling or updating, avoiding failed or conflicting operations. ## Quick Start Ask the AI to check the current Unity Editor state, such as whether it is in play mode or compiling scripts.

Frequently Asked Questions about editor-application-get-state

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if the Unity Editor is in play mode from the command line?▼

Run unity-mcp-cli run-tool editor-application-get-state with an empty or minimal JSON input. The response includes an IsPlaying boolean that reports whether the Editor is currently in Play mode.

How to detect when Unity is compiling scripts programmatically?▼

Call the editor-application-get-state tool and inspect the IsCompiling field in the result. It returns true while the Editor is compiling scripts, letting automation wait before issuing further commands.

What information does the Unity EditorApplication state tool return?▼

It returns IsPlaying, IsPaused, IsCompiling, IsPlayingOrWillChangePlaymode, IsUpdating, ApplicationPath, ApplicationContentsPath, and TimeSinceStartup, covering both runtime state and environment details.

Why is unity-mcp-cli not found when running the tool?▼

The CLI is not installed or not on your PATH. Install it globally with npm install -g unity-mcp-cli, or prefix commands with npx unity-mcp-cli to run it without a global install.

Does the editor state tool require any input parameters?▼

No meaningful input is required. The schema only defines an optional 'nothing' string field, so you can pass an empty JSON object or a placeholder value when invoking the tool.