---
title: getWidth
status: published
category: primitives
group: Function
author: api
date: 06/23/2023
order: 36
---<Small>Public Function</Small>




##### Parameters


<ParametersTable>

<ParametersTableRow>
<ParametersTableName>

`pts`

</ParametersTableName>
<ParametersTableDescription>

```ts
VecLike[]
```



</ParametersTableDescription>
</ParametersTableRow>
</ParametersTable>

##### Returns


```ts
number
```

##### References

[VecLike](/gen/primitives/VecLike-type)

