docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Command queries

    Command queries are a kind of reverse search. You enter commands in the search field, and Quick Search returns items that support those commands.

    For example, the search query >select text returns a list of GameObjects in the current Scene that you can select, and that match the search term "text".

    Note

    This is a special search. You must use its search token to execute it. You cannot make it an active Search Provider, or combine it with other Search Providers.

    Search token: > (right angle bracket)

    Default action: Executes the command on the selected item.

    Context menu actions: These vary depending on the command you use, and the type of item Quick Search returns.

    Command query commands

    You can use the following query commands in Quick Search:

    Command: Returns:
    select GameObjects that you can select, or highlight in the Hierarchy window.
    open Assets that you can open in an Editor window.
    reveal Assets that you can highlight in the Project window.
    context A list of Assets and/or GameObjects. You can open any item's normal context menu.
    exec Executes a command or computation
    help Quick Search help in the results area.
    copy Console log entries that you can copy to the clipboard.
    browse Available resources for an Online search.
    install Packages that you can install (the same way you would using the install option in the Package search).
    remove Packages that you can uninstall (the same way you would using the remove option in the Package search).


    Command query Search Provider

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)