> For the complete documentation index, see [llms.txt](https://learn.squirrel365.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.squirrel365.io/squirrel-addon-documentation/squirrel-helper-library/angular/methods/setposition.md).

# setPosition

Tells Squirrel to resize the component to the specified height and width.  The method accepts the following argument

<details>

<summary>position: <a href="/pages/JpkBmCLJnf8pKQtoAY14">SquirrelPosition</a></summary>

A [SquirrelPosition ](/squirrel-addon-documentation/squirrel-helper-library/angular/classes/squirrelposition.md)object specifying the x and y location of the component on the canvas

</details>

{% hint style="info" %}
Support for this method was added on release 1.12.x
{% endhint %}
