# Extra Elements

Sometimes you might want to add an extra element, such as a 5th door like the trunk. This page will help you go over what you need and how to integrate it using the already available system components.

The system currently supports up to FIVE extra vehicle functions. More can be added by request, or if you're familiar with interfaces - you can add as many as you want.

For this demonstration, I'll be adding a function which turns on a light in the trunk/boot of the hatchback.

![First off set up your pieces,  the box will be a signify the "button" in this instance.](https://2320489175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2QngA3F8bJDdn2Zx0nBz%2Fuploads%2FKvjbcbBkBZsETGHPUz5l%2FExtra_01.jpg?alt=media\&token=ad8ceb39-add4-4156-95b5-80e5c092fbcf)

Once you have your pieces in place, it's time to set up your blueprint interaction.

Drag and drop the BP\_VehiclePart into your blueprint and position it where it most makes sense, in this instance, it's covering the entire cube button

BP\_VehiclePart can be found in **VehicleVarietyAdv -> Blueprints -> Vehicles**

![BP\_VehiclePart overlaid the cube button](https://2320489175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2QngA3F8bJDdn2Zx0nBz%2Fuploads%2FJg1efBErRQRoMJiirKNj%2FExtra_02.jpg?alt=media\&token=e4560581-83cf-4ce8-b9ce-df8e6dcdf2af)

Next, select the BP\_VehiclePart and change the EVehicle Parts menu under the default area to "ExtraFunction01"

![Setting the vehicle part differentiates it from other parts of the vehicle](https://2320489175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2QngA3F8bJDdn2Zx0nBz%2Fuploads%2FURqFubwSRyebJJciiZ9K%2FExtra_03.jpg?alt=media\&token=3d329ca7-4dfb-4fab-89d4-dea1712599bf)

Next, head on over to the event graph and add custom event "Event Extra Function 01"

![](https://2320489175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2QngA3F8bJDdn2Zx0nBz%2Fuploads%2F8adgui6f0lfuzSGpnVqO%2FExtra_04.jpg?alt=media\&token=e03a0463-5e86-4cbf-8384-3f3b1f747839)

From here you can do absolutely anything you would normally do in a blueprint. In this instance, we'll toggle the visibility of the light on and off.

![Simple!](https://2320489175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2QngA3F8bJDdn2Zx0nBz%2Fuploads%2FLlHdeDSR8c3FWpOuuogY%2FExtra_05.jpg?alt=media\&token=0243f00b-7573-48c0-bcd4-b518ab398fa5)

If you interact with the cube in editor now, you should be able to turn the light on and off

![One and off, exhilarating!](https://2320489175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2QngA3F8bJDdn2Zx0nBz%2Fuploads%2Fm2dVzxFyOMkJaFtT7J3f%2FExtra_06.jpg?alt=media\&token=a498ee10-9de0-44dc-8b5e-3102405e41e7)

Finally, you'll want to add your UI elements. The reason this is separate from the BP\_Interaction component is to add a bit more flexibility in where you place it. Simply drag and drop **BP\_UI\_Overlap** into the blueprint editor and set its general position

**BP\_UI\_Overalap** can be found under **VehicleVarietyAdv -> Blueprints -> FirstPersonCharacter -> Interactibles**

![Visibility debug enabled, custom text and positioned above the box - the UI is in an acceptable position](https://2320489175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2QngA3F8bJDdn2Zx0nBz%2Fuploads%2FSNZKbCCMaeDIi0QM1xJm%2FExtra_07.jpg?alt=media\&token=1fa8fbf7-4c97-4bac-a4a4-5795a374c24d)

Now if you press play, the extra element should behave in exactly the same way as the rest of the interactable elements in the scene!
