Adding and Deleting Components

# Course Introduction

You can use components to add identities to entities. Let's examine how to use components and the Property Editor window.

# Component Classification

Components determine the identity of entities. You can add or delete several components from a pre-existing model to create an entity that looks the same, but operates in a different way.

In the Property Editor window, components are classified into four categories: Map, UI, Player, Etc.. Each category contains corresponding categories, and the icons indicate the component's characteristics. For more detail on each component, please refer to [API Reference](/apiReference?postId=317).

[{"Icon":"[png](1636357080473d55d20344b90435a823e542b11829a0e)","Component":"Avatar Components"},{"Icon":"[png](1636357498603c3f1666fb49d43f2a8a35ab4921b118b)","Component":"UI Components"},{"Icon":"[png](16363570539712866386877bf4ee885533554c4398352)","Component":"AI Components"},{"Icon":"[png](163635714752051801c9ae8b24113a2a0cbe18dd96bb6)","Component":"Other ComponentsCreator Component"},{"Icon":"[png](1636357093244b60a272cb7fb490eb5770df741becff3)","Component":"Camera Components"},{"Icon":"[png](1636357430620486e701f5b2d4d1599e7c72705e23f50)","Component":"Player Components"},{"Icon":"[png](1636357473313e6e6178c7e9f4a10a65949eb0b391541)","Component":"Sprite Components"},{"Icon":"[png](1636357387379505d66dc8dbf4770a32b9817b213ea39)","Component":"Movement Components"},{"Icon":"[png](16363573741458fe0e51a246b4ae5898d1c2fefe92710)","Component":"Map Components"},{"Icon":"[png](16363574605286d5c7249c6344b829d3efe1b34d9eb51)","Component":"Sound Components"},{"Icon":"[png](16363571792923152ba595bf340ed9f87583aeb7d3868)","Component":"Item Components"},{"Icon":"[png](1636357117698b48ce0db38bc432e97e40269c8545180)","Component":"Control Components"},{"Icon":"[png](163635710557194c1304e88c34552b0a68d2b30eb3568)","Component":"Collision Components"}]

# Adding Components

  1. Click Add Component at the bottom of the Property Editor. [png](1634619180422b0c8ea84e18648749cd9d6642ff0b8d1)   

  2. Search and click the component you'd like to add. [png](1634619277305f8cc364cb0b7421eb3bad22bfdbbd4c6)   

  3. See if the component has been added to the Property Editor window. [png](1634619296245c4904b69ee43474b9ec416bd7e652521)   




# Component Reset

Resets a set component value to its default value.

  * Open the context menu and click Reset All Properties to reset the component's property value. [png](1634619750943da28f727fc4548fa859cb322bf88dbe7)



# Changing Component Status

Components are automatically activated when they are added. You can easily enable or disable components by ticking the checkbox.

  * Click the checkbox between the icon and the component name to change its status. [png](16346176407708cb3de01eaaf48a68ab2dd6fe1b1183f) : Component enabled [png](16346176985962dcc6fd403f34978b50521f0a8329013) : Component disabled



[png](1634619923114e5669c9d06f14fbba2355f32e99f00a1)

  * Open the context menu by the component name and click Disable Component to disable components.



# Deleting Components

Open the context menu and click Remove Component to delete components. [png](16346199801992f5684c3b2e44bf194317e3efda34a18)