# Creating a basic projectile

Canonical: https://splugins.net/docs/executableitems/questions-or-guides/custom-projectiles-implementation/creating-a-basic-projectile

# Creating a basic projectile

### Create the EI Item.

* Every projectile from Score is launched by an ExecutableItem item, so you need that first
* `/ei create `

![](https://media.ssomar.com/m/docs-img-create-base-proj.png)

* Edit everything you want, as the material, item name, lore, etc.

![](https://media.ssomar.com/m/docs-img-star-shooter.png)

* Now, let's create the way we are going to launch the projectile, in this case I want it to be when right clicking, that means, Activator: `PLAYER_RIGHT_CLICK`

* Now, let's save the activator and item for a while, because we need to launch the projectile we want

> **INFO**
The order explained here isn't the best, you can do it in the order you want, it is just done in a way you can understand how everything works step by step

### Create the projectile

* Remember, we have the EI Item ready, it is just waiting for our projectile, to create it use the command `/score projectiles-create `

![](https://media.ssomar.com/m/docs-img-projectiles-create.png)

* You can select there the type of projectile, edit the particles, edit a lot of features, just do it as you want, edit everything you want, until your projectile is done, in this case I did:
  * Projectile: SNOWBALL
  * Invisible: true
  * Silent: true
  * Gravity: false
  * Added some particles in the particle editor inside the gui.
* Once the projectile is done, save it, and let's go back into our EI Item.

### Link the projectile created into our EI Item

*   Let's go back to the activator PLAYER\_RIGHT\_CLICK of our item, and in commands we are going to use the LAUNCH command, the format is

    * LAUNCH \
    * Check [LAUNCH Wiki](/docs/tools-for-all-plugins-score/custom-commands/player-and-target-commands#launch)

    In this case, the ID is the id of the projectile, I set it to "ThisIsTheIdOfMyProjectile" so the command part would look like:

![](https://media.ssomar.com/m/docs-img-proj-launch.png)

* Then press FINISH, save the activator, and save the item and.. TEST !

![](https://media.ssomar.com/m/docs-img-test-proj.gif)

## Related Documentation

- [Custom Projectiles System](/docs/tools-for-all-plugins-score/custom-projectiles)
- [LAUNCH Command](/docs/tools-for-all-plugins-score/custom-commands/player-and-target-commands#launch)
- [PLAYER_RIGHT_CLICK Activator](/docs/executableitems/configurations/activator-configuration/list-of-the-activators#player_right_click)
- [Advanced Projectile Examples](/docs/executableitems/questions-or-guides/custom-projectiles-implementation/launch-diamond-axe)