> For the complete documentation index, see [llms.txt](https://riseclients-organization.gitbook.io/rise-6-scripting-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://riseclients-organization.gitbook.io/rise-6-scripting-api/api-documentation/objects/blockpos.md).

# BlockPos

### `getPosition(): Vector3`

Returns the position of the blockpos.

### `getHardness(): Number`

Returns the hardness of the block at the blockpos, you can get the amount of ticks it will take to break the block by doing 1 / hardness.

### `getHardness(int slot): Number`

Returns the hardness using the item in the slot id, read getHardness method description for more information.

### `getBlock(): Block`

Returns the block at the position.
