> For the complete documentation index, see [llms.txt](https://docs.siminsights.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.siminsights.com/hyperskill-studio-authoring/virtual-entities/special-virtual-objects/crossbow.md).

# Crossbow

Crossbow allows a user to shoot another Virtual Object out of it.

"Crossbow" is a Special Virtual Object that allows a user to shoot another Virtual Object from its "shootingObjectSnapHitbox" hitbox.

## Shoot a Virtual Object

1. Snap a Virtual Object to the "shootingObjectSnapHitbox" hitbox.
2. While the Crossbow is grabbed, press the "Use" interaction to shoot the Virtual Object.

## Adjust the velocity of the shot

An author can adjust the velocity of the shot by creating the following customizable attributes within the Crossbow Virtual Object. The attribute names must match exactly.

| Attribute | Type  | Default |
| --------- | ----- | ------- |
| xVelocity | float | 0       |
| yVelocity | float | 25      |
| zVelocity | float | 400     |
