How to structure your prompts for better results with Coplay
Coplay is designed to understand natural language, but structuring your requests in certain ways can help you get better and more accurate responses. This guide will help you communicate effectively with Coplay in Unity.
Ask Coplay to write code for you by clearly stating what you need.
"Write a script for a third-person camera controller""Create a health system with damage and healing functions""Generate a JSON parser for my save game data"
Share your existing code for Coplay to analyze, explain, or improve.
"What's wrong with this code? [paste your code]""Optimize this function for better performance: [paste function]""Explain how this script works: [paste script]"
Here’s an example of an effective conversation with Coplay:
You: I’m trying to make an enemy that patrols between waypoints. Can you help me with the script?Coplay: [Provides basic patrol script]You: Thanks! Now how can I make the enemy detect and chase the player when they get close?Coplay: [Builds on previous script to add player detection and chase behavior]You: One last thing - how do I make the enemy return to patrolling when it loses sight of the player?Coplay: [Completes the AI behavior with returning to patrol functionality]
Agent Mode is ideal for straightforward, focused tasks:
"Fix this compilation error in my script""Add a health bar to my UI""Create a simple pickup system"
Normal Mode works better for open-ended, exploratory requests:
"I want to design a combat system for my RPG - what are some approaches?""Help me brainstorm mechanics for a puzzle platformer""What's the best way to structure my game's architecture?"
Don’t hesitate to interrupt Coplay if it’s going in the wrong direction:
“Stop - that’s not what I need. Let me clarify…”
Be direct when you’re not satisfied:
"This isn't working for me. I need a simpler solution.""The code you provided is too complex. Can you make it more basic?""I'm looking for something different - here's what I actually want..."
Instead of: "Make a shooting script"Try: "Create a shooting script for a 2D side-scroller where:- Player shoots with left mouse click- Bullets are instantiated prefabs- Maximum 3 bullets on screen at once- Bullets destroy after 2 seconds"
"Use the Blender MCP server to import this model and set up the animations""Connect to the Git MCP server to manage version control for my project""Use the file system MCP server to organize my project assets"
MCP (Model Context Protocol) servers provide specialized tools that can extend Coplay’s capabilities beyond Unity development.
For more tips on effectively using Coplay, join our Discord community where you can share your experiences and learn from other users.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Coplay Documentation","colors":{"primary":"#442172","light":"#B48AEB","dark":"#442172"},"logo":{"light":"https://mintcdn.com/coplay/KZ8Rjc9ndnV33yOF/logo/logo.svg?fit=max\u0026auto=format\u0026n=KZ8Rjc9ndnV33yOF\u0026q=85\u0026s=03aacea3ddce917c6907cb848fb6b46d","dark":"https://mintcdn.com/coplay/KZ8Rjc9ndnV33yOF/logo/logo.svg?fit=max\u0026auto=format\u0026n=KZ8Rjc9ndnV33yOF\u0026q=85\u0026s=03aacea3ddce917c6907cb848fb6b46d"},"favicon":"/favicon.ico","navbar":{"links":[{"href":"mailto:ben@coplay.dev","label":"Support"}],"primary":{"type":"button","label":"Get Started","href":"/getting-started/installation"}},"footer":{"socials":{"x":"https://x.com/JosvdWest","github":"https://github.com/coplayDev","linkedin":"https://linkedin.com/company/coplaydev","discord":"https://discord.com/invite/KmGfEr6d3v","youtube":"https://www.youtube.com/@coplay-ai"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.com/invite/KmGfEr6d3v"},{"anchor":"Blog","icon":"newspaper","href":"https://www.coplay.dev/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"coplay","hasAudioNarration":false,"actualSubdomain":"coplay","customDomains":["docs.coplay.dev"],"gitSource":{"type":"github","owner":"coplaydev","repo":"coplay","deployBranch":"main","contentDirectory":"Docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e6e28d1fcd719df0430b","collectionId":"8ec6fe4b-8ebc-4955-96c6-fd486eb4699a","schemaVersion":"v2"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a21e6e28d1fcd719df0430b:success","clientVersion":"0.0.3990","searchFilterCounts":[{"language":"default","tag":"Guides","count":17},{"language":"default","tag":"Get Started","count":5},{"language":"default","tag":"Using Coplay","count":4},{"language":"default","tag":"Tutorials","count":3},{"language":"default","tag":"Coplay MCP","count":2},{"language":"default","tag":"Modes","count":2},{"language":"default","tag":"Unity MCP","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"essentials/best-practices","slug":"/essentials/best-practices","pageMetadata":{"title":"Best Practices","description":"How to structure your prompts for better results with Coplay","href":"/essentials/best-practices","hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How to structure your prompts for better results with Coplay\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,blockquote:`blockquote`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Latex,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Latex)_missingMdxReference(`Latex`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Coplay is designed to understand natural language, but structuring your requests in certain ways can help you get better and more accurate responses. This guide will help you communicate effectively with Coplay in Unity.`}),`\n`,_jsx(Heading,{level:`2`,id:`request-types`,children:`Request Types`}),`\n`,_jsx(_components.p,{children:`Here are the main types of requests you can make to Coplay:`}),`\n`,_jsx(Heading,{level:`3`,id:`questions`,children:`Questions`}),`\n`,_jsx(_components.p,{children:`Best for when you need information or explanations.`}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"How do I implement a jump mechanic in Unity?\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"What's the difference between Update and FixedUpdate?\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Why is my raycast not detecting collisions?\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Be specific with your questions. The more details you provide, the more\ntailored Coplay’s response will be to your situation.`})}),`\n`,_jsx(Heading,{level:`3`,id:`code-generation`,children:`Code Generation`}),`\n`,_jsx(_components.p,{children:`Ask Coplay to write code for you by clearly stating what you need.`}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Write a script for a third-person camera controller\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Create a health system with damage and healing functions\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Generate a JSON parser for my save game data\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`code-analysis`,children:`Code Analysis`}),`\n`,_jsx(_components.p,{children:`Share your existing code for Coplay to analyze, explain, or improve.`}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"What's wrong with this code? [paste your code]\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Optimize this function for better performance: [paste function]\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Explain how this script works: [paste script]\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`text-formatting-for-better-results`,children:`Text Formatting for Better Results`}),`\n`,_jsx(_components.p,{children:`Formatting your messages can help Coplay understand your needs better.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Technique`}),_jsx(_components.th,{children:`How to use it`}),_jsx(_components.th,{children:`Example`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Be specific`}),_jsx(_components.td,{children:`Include details about your goal`}),_jsxs(_components.td,{children:[`”Create a script that makes the camera follow the player `,_jsx(_components.strong,{children:`with smooth damping`}),` and `,_jsx(_components.strong,{children:`height offset`}),`”`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Use sections`}),_jsx(_components.td,{children:`Separate different parts of your request`}),_jsxs(_components.td,{children:[`”`,_jsx(_components.strong,{children:`Context`}),`: I’m making a 2D platformer. `,_jsx(_components.strong,{children:`Question`}),`: How should I handle wall jumping?”`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Provide context`}),_jsx(_components.td,{children:`Explain your project setup`}),_jsxs(_components.td,{children:[`”I’m using `,_jsx(_components.strong,{children:`Unity 2022.1`}),` with the `,_jsx(_components.strong,{children:`URP`}),` rendering pipeline and need help with…”`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`effective-prompting-techniques`,children:`Effective Prompting Techniques`}),`\n`,_jsx(Heading,{level:`3`,id:`step-by-step-instructions`,children:`Step-by-Step Instructions`}),`\n`,_jsx(_components.p,{children:`When you need Coplay to help with a complex task, break it down into steps:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"I want to create an inventory system. First, help me design the data structure.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Once that's done, I'll ask for help implementing the UI.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`iterative-refinement`,children:`Iterative Refinement`}),`\n`,_jsx(_components.p,{children:`Start with a basic request and then refine it based on Coplay’s response:`}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`Initial: “Create a player movement script”`}),`\n`,_jsx(_components.p,{children:`Follow-up: “That’s good, but can you modify it to include sprinting when the Shift key is pressed?”`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`code-examples`,children:`Code Examples`}),`\n`,_jsx(_components.p,{children:`When sharing code with Coplay, use code blocks to make it easier to read:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Ask about this code`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`void`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Update`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Input`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`GetKeyDown`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`KeyCode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Space`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` rb`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`AddForce`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Vector3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`up`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` *`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` jumpForce`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ForceMode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Impulse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`unity-specific-terminology`,children:`Unity-Specific Terminology`}),`\n`,_jsx(_components.p,{children:`Using accurate Unity terminology helps Coplay understand exactly what you’re asking:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`General Term`}),_jsx(_components.th,{children:`Unity-Specific Term`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`3D object`}),_jsx(_components.td,{children:`GameObject`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Property`}),_jsx(_components.td,{children:`Component, Parameter, or Field`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Screen`}),_jsx(_components.td,{children:`Scene, Game View, or UI Canvas`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Code file`}),_jsx(_components.td,{children:`Script or MonoBehaviour`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`mathematical-expressions`,children:`Mathematical Expressions`}),`\n`,_jsx(_components.p,{children:`Coplay can understand mathematical expressions, which is useful for game physics and graphics questions:`}),`\n`,_jsx(Latex,{children:`F = m \\\\times a`}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"How do I calculate the force needed to make my object jump to a height of h`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`using the formula F = m × a?\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`sample-conversation-flow`,children:`Sample Conversation Flow`}),`\n`,_jsx(_components.p,{children:`Here’s an example of an effective conversation with Coplay:`}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`You`}),`: I’m trying to make an enemy that patrols between waypoints. Can you help me with the script?`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Coplay`}),`: [Provides basic patrol script]`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`You`}),`: Thanks! Now how can I make the enemy detect and chase the player when they get close?`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Coplay`}),`: [Builds on previous script to add player detection and chase behavior]`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`You`}),`: One last thing - how do I make the enemy return to patrolling when it loses sight of the player?`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Coplay`}),`: [Completes the AI behavior with returning to patrol functionality]`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`workflow-strategies`,children:`Workflow Strategies`}),`\n`,_jsx(Heading,{level:`3`,id:`be-iterative`,children:`Be Iterative`}),`\n`,_jsx(_components.p,{children:`Don’t try to accomplish everything in one large request. Break down your needs into smaller, manageable chunks:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"First, help me create a basic player controller\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`→ \"Now add jumping functionality to the controller\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`→ \"Finally, add wall-jumping mechanics\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`choose-the-right-mode`,children:`Choose the Right Mode`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Agent Mode`}),` is ideal for straightforward, focused tasks:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Fix this compilation error in my script\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Add a health bar to my UI\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Create a simple pickup system\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Normal Mode`}),` works better for open-ended, exploratory requests:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"I want to design a combat system for my RPG - what are some approaches?\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Help me brainstorm mechanics for a puzzle platformer\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"What's the best way to structure my game's architecture?\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`communication-tips`,children:`Communication Tips`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Don’t hesitate to interrupt Coplay`}),` if it’s going in the wrong direction:`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`“Stop - that’s not what I need. Let me clarify…”`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Be direct when you’re not satisfied:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"This isn't working for me. I need a simpler solution.\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"The code you provided is too complex. Can you make it more basic?\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"I'm looking for something different - here's what I actually want...\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`start-fresh-for-new-tasks`,children:`Start Fresh for New Tasks`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Use a new conversation for each major task`}),` to avoid context confusion:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`✅ New conversation: “Create an inventory system”`}),`\n`,_jsx(_components.li,{children:`✅ New conversation: “Debug my movement script”`}),`\n`,_jsx(_components.li,{children:`❌ Same conversation: Mixing inventory questions with movement debugging`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`model-selection-strategy`,children:`Model Selection Strategy`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Experiment with different models`}),` based on your task:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Simple tasks → Lighter models (faster, less overthinking)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Complex debugging → Thinking models (more thorough analysis)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Creative brainstorming → Balanced models`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`For open-ended requests, ask for a plan first:`})}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`“Before you start coding, can you outline your approach to building this inventory system?”`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`avoiding-over-engineering`,children:`Avoiding Over-Engineering`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Coplay can overthink like humans.`}),` For simple tasks:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`❌ \"Create a comprehensive, scalable, enterprise-grade player movement system\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`✅ \"Create a basic player movement script with WASD controls\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Match the model to the task complexity:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`First implementation`}),`: Use simpler models to avoid over-building`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Debugging/Optimization`}),`: Use thinking models for thorough analysis`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Refactoring`}),`: Thinking models excel at understanding complex codebases`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`prompt-enhancement`,children:`Prompt Enhancement`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Pre-process and enrich your prompts`}),` with context:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Instead of: \"Make a shooting script\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Try: \"Create a shooting script for a 2D side-scroller where:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Player shoots with left mouse click`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Bullets are instantiated prefabs`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Maximum 3 bullets on screen at once`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`- Bullets destroy after 2 seconds\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`supercharge-with-mcp-servers`,children:`Supercharge with MCP Servers`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Use MCP servers to enhance your workflow:`})}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Use the Blender MCP server to import this model and set up the animations\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Connect to the Git MCP server to manage version control for my project\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"Use the file system MCP server to organize my project assets\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`MCP (Model Context Protocol) servers provide specialized tools that can extend Coplay’s capabilities beyond Unity development.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`join-our-community`,children:`Join Our Community`}),`\n`,_jsxs(_components.p,{children:[`For more tips on effectively using Coplay, join our `,_jsx(_components.a,{href:`http://discord.com/invite/KmGfEr6d3v`,children:`Discord community`}),` where you can share your experiences and learn from other users.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Best Practices","description":"How to structure your prompts for better results with Coplay","href":"/essentials/best-practices","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request Types","slug":"request-types","depth":2,"children":[{"title":"Questions","slug":"questions","depth":3,"children":[]},{"title":"Code Generation","slug":"code-generation","depth":3,"children":[]},{"title":"Code Analysis","slug":"code-analysis","depth":3,"children":[]}]},{"title":"Text Formatting for Better Results","slug":"text-formatting-for-better-results","depth":2,"children":[]},{"title":"Effective Prompting Techniques","slug":"effective-prompting-techniques","depth":2,"children":[{"title":"Step-by-Step Instructions","slug":"step-by-step-instructions","depth":3,"children":[]},{"title":"Iterative Refinement","slug":"iterative-refinement","depth":3,"children":[]}]},{"title":"Code Examples","slug":"code-examples","depth":2,"children":[]},{"title":"Unity-Specific Terminology","slug":"unity-specific-terminology","depth":2,"children":[]},{"title":"Mathematical Expressions","slug":"mathematical-expressions","depth":2,"children":[]},{"title":"Sample Conversation Flow","slug":"sample-conversation-flow","depth":2,"children":[]},{"title":"Workflow Strategies","slug":"workflow-strategies","depth":2,"children":[{"title":"Be Iterative","slug":"be-iterative","depth":3,"children":[]},{"title":"Choose the Right Mode","slug":"choose-the-right-mode","depth":3,"children":[]},{"title":"Communication Tips","slug":"communication-tips","depth":3,"children":[]},{"title":"Start Fresh for New Tasks","slug":"start-fresh-for-new-tasks","depth":3,"children":[]},{"title":"Model Selection Strategy","slug":"model-selection-strategy","depth":3,"children":[]},{"title":"Avoiding Over-Engineering","slug":"avoiding-over-engineering","depth":3,"children":[]},{"title":"Prompt Enhancement","slug":"prompt-enhancement","depth":3,"children":[]},{"title":"Supercharge with MCP Servers","slug":"supercharge-with-mcp-servers","depth":3,"children":[]}]},{"title":"Join Our Community","slug":"join-our-community","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"coplay","siteName":"Coplay Documentation","title":"Best Practices - Coplay Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-10-10T23:11:43.404Z","originalFileLocation":"essentials/best-practices.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How to structure your prompts for better results with Coplay\">\u003cmeta data-mint-head name=\"application-name\" content=\"Coplay Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/coplay/2qSsIvzClypMTVvr/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/coplay/2qSsIvzClypMTVvr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/coplay/2qSsIvzClypMTVvr/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/coplay/2qSsIvzClypMTVvr/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/coplay/2qSsIvzClypMTVvr/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/coplay/2qSsIvzClypMTVvr/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/coplay/2qSsIvzClypMTVvr/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/coplay/2qSsIvzClypMTVvr/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/coplay/2qSsIvzClypMTVvr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Best Practices - Coplay Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to structure your prompts for better results with Coplay\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Coplay Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.coplay.dev/essentials/best-practices\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://coplay.mintlify.app/_mintlify/api/og/v2?division=Using+Coplay\u0026amp;title=Best+Practices\u0026amp;description=How+to+structure+your+prompts+for+better+results+with+Coplay\u0026amp;theme=5621b210faa8ffb5bd0bc99d\u0026amp;signature=237520532e52250bd3854fb4decb112ff92f9f12ae780e5453131c2018df07a6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Best Practices - Coplay Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to structure your prompts for better results with Coplay\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://coplay.mintlify.app/_mintlify/api/og/v2?division=Using+Coplay\u0026amp;title=Best+Practices\u0026amp;description=How+to+structure+your+prompts+for+better+results+with+Coplay\u0026amp;theme=5621b210faa8ffb5bd0bc99d\u0026amp;signature=237520532e52250bd3854fb4decb112ff92f9f12ae780e5453131c2018df07a6\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/coplay/2qSsIvzClypMTVvr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Coplay Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#442172\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.coplay.dev/essentials/best-practices\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/essentials/best-practices.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.coplay.dev/#organization\",\"name\":\"Coplay Documentation\",\"url\":\"https://docs.coplay.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/coplay/KZ8Rjc9ndnV33yOF/logo/logo.svg?fit=max\u0026auto=format\u0026n=KZ8Rjc9ndnV33yOF\u0026q=85\u0026s=03aacea3ddce917c6907cb848fb6b46d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.coplay.dev#website\",\"name\":\"Coplay Documentation\",\"url\":\"https://docs.coplay.dev\",\"publisher\":{\"@id\":\"https://docs.coplay.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.coplay.dev/essentials/best-practices#webpage\",\"url\":\"https://docs.coplay.dev/essentials/best-practices\",\"name\":\"Best Practices\",\"description\":\"How to structure your prompts for better results with Coplay\",\"dateModified\":\"2025-10-10T23:11:43.404Z\",\"isPartOf\":{\"@id\":\"https://docs.coplay.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.coplay.dev/essentials/best-practices#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.coplay.dev/essentials/best-practices#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Coplay Documentation\",\"item\":\"https://docs.coplay.dev\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Best Practices\",\"item\":\"https://docs.coplay.dev/essentials/best-practices\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.coplay.dev/essentials/best-practices#article\",\"headline\":\"Best Practices\",\"name\":\"Best Practices\",\"description\":\"How to structure your prompts for better results with Coplay\",\"url\":\"https://docs.coplay.dev/essentials/best-practices\",\"mainEntityOfPage\":{\"@id\":\"https://docs.coplay.dev/essentials/best-practices#webpage\"},\"dateModified\":\"2025-10-10T23:11:43.404Z\",\"publisher\":{\"@id\":\"https://docs.coplay.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.coplay.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Coplay Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Coplay Documentation","nav":{"global":{"anchors":[{"anchor":"Community","icon":"discord","href":"https://discord.com/invite/KmGfEr6d3v"},{"anchor":"Blog","icon":"newspaper","href":"https://www.coplay.dev/blog"}]},"tabs":[{"tab":"Guides","groups":[{"group":"Get Started","pages":[{"title":"Welcome to Coplay","href":"/getting-started"},{"title":"Installation","href":"/getting-started/installation"},{"title":"Quickstart","href":"/getting-started/quickstart"},{"title":"Prompt Guide","href":"/getting-started/promptguide"},{"title":"Prompt Cost Guide","description":"Average prompt costs for Coplay users across GPT-5, Claude 4.5, and Gemini 3.","href":"/getting-started/promptcost"}]},{"group":"Using Coplay","pages":[{"title":"Best Practices","href":"/essentials/best-practices"},{"title":"Configuration","description":"Use Coplay's advanced configuration to tailor your experience","href":"/essentials/configuration"},{"title":"Settings","href":"/essentials/settings"},{"title":"Troubleshooting","href":"/essentials/troubleshooting"},{"title":"Common Issues","href":"/essentials/Common-Issues"}]},{"group":"Modes","pages":[{"title":"Modes Overview","href":"/essentials/modes"},{"title":"Troubleshooting","href":"/essentials/troubleshooting"}]},{"group":"Modes","pages":[{"title":"Modes Overview","href":"/essentials/modes"}]},{"group":"Coplay MCP","pages":[{"title":"Quick Start","href":"/coplay-mcp/guide"},{"title":"Setting Up Coplay MCP with Claude Code","href":"/coplay-mcp/claude-code-guide"}]},{"group":"Tutorials","pages":[{"title":"Build a Chess Game","href":"/tutorials/chess"},{"title":"Generate Blender Assets","href":"/tutorials/blender-mcp"},{"title":"Creating UI with Coplay","href":"/tutorials/Creating-UI"}]},{"group":"Unity MCP","pages":[{"title":"Comparing Coplay with Unity MCP","href":"/unity-mcp/coplay-comparison"}]}]}]},"title":"Best Practices - Coplay Documentation","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":[],"chunks":[]}