> For the complete documentation index, see [llms.txt](https://anything-world.gitbook.io/anything-world/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://anything-world.gitbook.io/anything-world/unity/documentation/anythingworld-api/anythingmaker/make.md).

# Make

#### Declaration

{% code overflow="wrap" %}

```csharp
public static GameObject Make(string name)
```

{% endcode %}

<pre class="language-csharp"><code class="lang-csharp">public static GameObject Make(string name, params <a data-footnote-ref href="#user-content-fn-1">RequestParam</a>[] parameters
</code></pre>

#### Parameters

<table data-header-hidden><thead><tr><th width="142.5"></th><th></th></tr></thead><tbody><tr><td><strong>name</strong></td><td>Name of model to request from database with or without GUID qualified. (eg. fox, cat#0001)</td></tr><tr><td><strong>parameters</strong></td><td>Optional list of request parameters (see: RequestParameter) to apply to this request, override default parameters. </td></tr></tbody></table>

#### Description

This method allows users to request an object from the Anything World database and have it instantiated in the scene according to the parameters they pass in. If no parameters are passed in the default parameters will be used.

Users can provide RequestParams, that can be created using the RequestParameter class.&#x20;

#### Example

```csharp
//Creates a cat with some parameters.
public class MakeACreature : MonoBehaviour 
{
    public void MakeACat()
    {
    
        AnythingMaker.Make("cat",
            //Will add animation system if available
            RequestParameter.IsAnimated(true),
            //Sets position to zero
            RequestParameter.Position(Vector3.zero),
            //Adds default behaviours from preset
            RequestParameter.SetDefaultBehaviour(),
            //Set callbacks for successful creation.
            RequestParameter.OnSuccessAction(PrintDebugWhenSuccessful),
            //Set callback for failed creation.
            RequestParameter.OnFailAction(PrintDebugWhenFail),
             //Add another example script
            RequestParameter.AddScripts(typeof(UserScriptExample)));
    }
    // This function will be invoked if model creationg process successful
    public void PrintDebugWhenSuccessful()
    {
        Debug.Log("Finished making model!");
    }
    // This function will be invoked if the model creation process fails
    public void PrintDebugWhenFail()
    {
        Debug.Log("Could not finish making model!");
    }
    
}
```

[^1]: [RequestParameter](/anything-world/unity/documentation/anythingworld-api/requestparameter.md)
