editor-application-set-state

Sets Unity Editor playmode state to running, stopped, or paused with compilation error checks.

Updated May 3, 2026
One-click install
npx skills add https://github.com/RakameNouya/MR-Bab_10_and_Kel_3 --skill editor-application-set-state-rakamenouya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: editor-application-set-state
Source: https://github.com/RakameNouya/MR-Bab_10_and_Kel_3/tree/main/.gemini/skills/editor-application-set-state
Command: npx skills add https://github.com/RakameNouya/MR-Bab_10_and_Kel_3 --skill editor-application-set-state-rakamenouya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides an interface to start, stop, or pause the Unity Editor 'playmode', making it easy to manage the development process efficiently.

Core Features & Use Cases

  • Start/Stop/Pause Unity Editor 'playmode': Direct control over the editor's runtime environment.
  • Check Current State: Before changing the state, it's possible to check the current state with 'editor-application-get-state'.
  • Error Handling: Throws errors if the project has compilation errors, prompting immediate attention.

Quick Start

Start 'playmode' and pause it using the following commands:

  • To start: unity-mcp-cli run-tool editor-application-set-state --input '{"isPlaying": true}'
  • To pause: unity-mcp-cli run-tool editor-application-set-state --input '{"isPaused": true}'

Frequently Asked Questions about editor-application-set-state

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

FAQPage Schema
How do I control Unity Editor playmode from the command line?

You can control Unity Editor playmode by sending specific JSON inputs to the editor interface, allowing you to start, stop, or pause the runtime environment directly from the command line.

Can I check the current Unity playmode state before modifying it?

Yes, you can check the current playmode state before modifying it. It is recommended to verify the current state first to ensure you are applying the correct start, stop, or pause action.

How do I start or pause Unity playmode using an automated script?

To start or pause Unity playmode via an automated script, execute the interface tool with inputs like isPlaying true or isPaused true to directly manage the editor's runtime environment.

Why does my Unity playmode fail to start when there are compilation errors?

Unity playmode will fail to start if the project has compilation errors. The system actively checks for these errors and throws an exception to prompt immediate attention before allowing a state change.

Does this playmode control method work within interactive development environments?

Yes, this playmode control method is specifically suitable for interactive development environments, providing direct and responsive management over the Unity Editor's runtime execution state.